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:40:26 +0000 (00:40 +0100)
PR#3141

ssl/t1_enc.c

index ab86e7e3e6440d3676dc1874ec8752607e494c29..16c532d637e28dd25fc93e20f35bed3fa94ec18e 100644 (file)
@@ -1165,7 +1165,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);