diff options
author | Matt Caswell <matt@openssl.org> | 2014-05-24 23:55:27 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2014-05-24 23:56:58 +0100 |
commit | a6f5b991ebd94474ef2a7169ceb8fd8652685589 (patch) | |
tree | 84dee1e2b6178884bb699acd4d69e342a78f3f1c /ssl/t1_enc.c | |
parent | 756587dcb901d071682e1e6d7bde8a4461c60766 (diff) |
Fix for non compilation with TLS_DEBUG defined
Diffstat (limited to 'ssl/t1_enc.c')
-rw-r--r-- | ssl/t1_enc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index 0c4cddedf8..5e05e93322 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -1048,14 +1048,10 @@ int tls1_mac(SSL *ssl, unsigned char *md, int send) if (!stream_mac) EVP_MD_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 != DTLS1_VERSION && ssl->version != DTLS1_BAD_VER) |