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

ssl/t1_enc.c

index 34830988fca89747047356abec0aee79539faa6d..3516fe15be3747f5e69e0c29a088a7de647273e6 100644 (file)
@@ -264,7 +264,7 @@ int tls1_change_cipher_state(SSL *s, int which)
        {
         int ki;
         for (ki=0; ki<s->s3->tmp.key_block_length; ki++)
-               printf("%02x", key_block[ki]);  printf("\n");
+               printf("%02x", s->s3->tmp.key_block[ki]);  printf("\n");
         }
 #endif /* KSSL_DEBUG */