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

ssl/t1_enc.c

index f7bdeb3b9dbac573ff9539dc8638aab45b8df432..b37678f2b5f21268f3162ea36851d3378867c05c 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 */