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:31 +0000 (00:41 +0100)
PR#3141
(cherry picked from commit d183545d4589f1e7a40190400b8b99ea3d1f7f97)

ssl/t1_enc.c

index 4874e5f95deefc1f6ea80340180db7760a57bae5..10fc795acdd4b40f5005183194aa62e35657a3db 100644 (file)
@@ -1173,7 +1173,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);