summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2014-05-24 23:55:27 +0100
committerMatt Caswell <matt@openssl.org>2014-05-25 00:02:38 +0100
commitbb50d30f3508e15b43f67cd539c259d08d762324 (patch)
tree63458c6ab965de1f106ef7c775937e8f044f9c7e /ssl
parent8323996d99fabfdf274ee5d1f03dae102d179460 (diff)
Fix for non compilation with TLS_DEBUG defined
Diffstat (limited to 'ssl')
-rw-r--r--ssl/t1_enc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c
index ad6b637c89..eb4acef8b8 100644
--- a/ssl/t1_enc.c
+++ b/ssl/t1_enc.c
@@ -774,14 +774,10 @@ int tls1_mac(SSL *ssl, unsigned char *md, int send)
HMAC_CTX_cleanup(&hmac);
#ifdef TLS_DEBUG
-printf("sec=");
-{unsigned int z; for (z=0; z<md_size; z++) printf("%02X ",mac_sec[z]); printf("\n"); }
printf("seq=");
{int z; for (z=0; z<8; z++) printf("%02X ",seq[z]); printf("\n"); }
-printf("buf=");
-{int z; for (z=0; z<5; z++) printf("%02X ",buf[z]); printf("\n"); }
printf("rec=");
-{unsigned int z; for (z=0; z<rec->length; z++) printf("%02X ",buf[z]); printf("\n"); }
+{unsigned int z; for (z=0; z<rec->length; z++) printf("%02X ",rec->data[z]); printf("\n"); }
#endif
if ( SSL_version(ssl) != DTLS1_VERSION && SSL_version(ssl) != DTLS1_BAD_VER)