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)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 27 Jun 2014 23:41:49 +0000 (00:41 +0100)
PR#3141
(cherry picked from commit d183545d4589f1e7a40190400b8b99ea3d1f7f97)

ssl/t1_enc.c

index ac8c1539968b4599200dcef01e37b2e5823f500e..1427484a325bb4b6c80e497fb59c65b48832d734 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);