From e5e1a75c356f6ad13c4e6fb025311c7e2ab865b3 Mon Sep 17 00:00:00 2001 From: Bernhard Miklautz Date: Tue, 12 Aug 2014 15:40:53 +0200 Subject: [PATCH] crypto: fix fingerprint Latest logging changes introduced a problem with fingerprint generation. The last byte wasn't added. --- libfreerdp/crypto/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/crypto/crypto.c b/libfreerdp/crypto/crypto.c index 4ef0c2dbd..b75e4eb6a 100644 --- a/libfreerdp/crypto/crypto.c +++ b/libfreerdp/crypto/crypto.c @@ -355,7 +355,7 @@ char* crypto_cert_fingerprint(X509* xcert) sprintf(p, "%02x:", fp[i]); p = &fp_buffer[(i + 1) * 3]; } - DEBUG_MSG(p, "%02x", fp[i]); + sprintf(p, "%02x", fp[i]); return fp_buffer; }