* ssl/t1_enc.c (tls1_change_cipher_state): Stupid bug. Fortunately in
authorRichard Levitte <levitte@openssl.org>
Fri, 21 Sep 2012 13:08:24 +0000 (13:08 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 21 Sep 2012 13:08:24 +0000 (13:08 +0000)
  debugging code that's seldom used.

ssl/t1_enc.c

index 44555f581e2bff0d739e9533251831078e6e3c08..0fe39dc387bcd67ddba649cd7c80b4e6d0815414 100644 (file)
@@ -361,7 +361,7 @@ int tls1_change_cipher_state(SSL *s, int which)
        {
         int i;
         for (i=0; i<s->s3->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 */