From: Richard Levitte Date: Fri, 21 Sep 2012 13:08:24 +0000 (+0000) Subject: * ssl/t1_enc.c (tls1_change_cipher_state): Stupid bug. Fortunately in X-Git-Tag: master-post-reformat~1684 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4d88fc8173573b089aac0e0e53572802fc7594cb;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 44555f581e..0fe39dc387 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 */