From: Richard Levitte Date: Fri, 21 Sep 2012 13:08:28 +0000 (+0000) Subject: * ssl/t1_enc.c (tls1_change_cipher_state): Stupid bug. Fortunately in X-Git-Tag: OpenSSL_1_0_1d~65 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d1451f18d9f447ccd26f2c80aad9750756727915;p=oweals%2Fopenssl.git * ssl/t1_enc.c (tls1_change_cipher_state): Stupid bug. Fortunately in debugging code that's seldom used. --- diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index f7bdeb3b9d..b37678f2b5 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -361,7 +361,7 @@ int tls1_change_cipher_state(SSL *s, int which) { int i; for (i=0; is3->tmp.key_block_length; i++) - printf("%02x", key_block[i]); printf("\n"); + printf("%02x", s->s3->tmp.key_block[i]); printf("\n"); } #endif /* KSSL_DEBUG */