From 2647117767792991d2eae4ff23089358aff8bab8 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Mon, 5 Sep 2011 12:44:54 +0200 Subject: [PATCH] debug output while loading AIK credentials --- src/libimcv/tcg/pts/pts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libimcv/tcg/pts/pts.c b/src/libimcv/tcg/pts/pts.c index e75ad74..7c68395 100644 --- a/src/libimcv/tcg/pts/pts.c +++ b/src/libimcv/tcg/pts/pts.c @@ -183,23 +183,23 @@ static void load_aik(private_pts_t *this) if (cert_path) { - DBG2(DBG_IMC,"AIK certificate path %s", cert_path); this->aik = lib->creds->create(lib->creds, CRED_CERTIFICATE, CERT_X509, BUILD_FROM_FILE, cert_path, BUILD_END); if (this->aik) { + DBG2(DBG_IMC, "loaded AIK certificate from '%s'", cert_path); return; } } if (key_path) { - DBG2(DBG_IMC,"AIK public key path %s", key_path); this->aik = lib->creds->create(lib->creds, CRED_CERTIFICATE, CERT_TRUSTED_PUBKEY, BUILD_FROM_FILE, key_path, BUILD_END); if (this->aik) { + DBG2(DBG_IMC, "loaded AIK public key from '%s'", key_path); return; } } -- 2.7.4