From ccb552018dbb4655a08f35daed4af60523a3da8a Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 18 Oct 2011 22:10:40 +0200 Subject: Fix broken debug_info usage --- src/lockdown.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lockdown.c b/src/lockdown.c index 6f55991..2dd20a4 100644 --- a/src/lockdown.c +++ b/src/lockdown.c @@ -1120,7 +1120,7 @@ lockdownd_error_t lockdownd_gen_pair_cert(key_data_t public_key, key_data_t * od BIO *membio = BIO_new_mem_buf(public_key.data, public_key.size); RSA *pubkey = NULL; if (!PEM_read_bio_RSAPublicKey(membio, &pubkey, NULL, NULL)) { - debug_info("%s: Could not read public key", __func__); + debug_info("Could not read public key"); } BIO_free(membio); @@ -1170,7 +1170,7 @@ lockdownd_error_t lockdownd_gen_pair_cert(key_data_t public_key, key_data_t * od PEM_read_bio_X509(membp, &rootCert, NULL, NULL); BIO_free(membp); if (!rootCert) { - debug_info("Could not read RootCertificate%*s"); + debug_info("Could not read RootCertificate"); } else { debug_info("RootCertificate loaded"); EVP_PKEY* pkey = EVP_PKEY_new(); -- cgit v1.1-32-gdbae