Commit bb50d30f authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix for non compilation with TLS_DEBUG defined

parent 8323996d
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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)