summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2011-10-18 22:10:40 +0200
committerGravatar Martin Szulecki2012-03-19 01:45:34 +0100
commitccb552018dbb4655a08f35daed4af60523a3da8a (patch)
tree5395d1a6e51114ed556921346d5420d606b77337 /src
parent38171bc2332dc68b86ea627e50c482e2ace4e342 (diff)
downloadlibimobiledevice-ccb552018dbb4655a08f35daed4af60523a3da8a.tar.gz
libimobiledevice-ccb552018dbb4655a08f35daed4af60523a3da8a.tar.bz2
Fix broken debug_info usage
Diffstat (limited to 'src')
-rw-r--r--src/lockdown.c4
1 files 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();