Fix compilation with -DSSL_DEBUG -DTLS_DEBUG -DKSSL_DEBUG
authoryogesh nagarkar <admin@yeshog.com>
Fri, 27 Jun 2014 23:40:26 +0000 (00:40 +0100)
committerJanusz Kozerski <j.kozerski@samsung.com>
Mon, 20 Oct 2014 13:25:28 +0000 (15:25 +0200)
PR#3141
(cherry picked from commit d183545d4589f1e7a40190400b8b99ea3d1f7f97)

ssl/t1_enc.c

index ac8c153..1427484 100644 (file)
@@ -1128,7 +1128,7 @@ int tls1_export_keying_material(SSL *s, unsigned char *out, size_t olen,
        int rv;
 
 #ifdef KSSL_DEBUG
-       printf ("tls1_export_keying_material(%p,%p,%d,%s,%d,%p,%d)\n", s, out, olen, label, llen, p, plen);
+       printf ("tls1_export_keying_material(%p,%p,%d,%s,%d,%p,%d)\n", s, out, olen, label, llen, context, contextlen);
 #endif /* KSSL_DEBUG */
 
        buff = OPENSSL_malloc(olen);