From 9f3e60e41f953c417212980e75e4c1a603687a50 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Sun, 25 May 2014 16:23:11 +0000 Subject: Remove TLS_DEBUG, SSL_DEBUG, CIPHER_DEBUG and OPENSSL_RI_DEBUG. Much of this is sporadic, hacked up and can easily be put back in an improved form should we ever need it. ok miod@ --- lib/libssl/s3_srvr.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'lib/libssl/s3_srvr.c') diff --git a/lib/libssl/s3_srvr.c b/lib/libssl/s3_srvr.c index 6f788cd0807..521f6a21e81 100644 --- a/lib/libssl/s3_srvr.c +++ b/lib/libssl/s3_srvr.c @@ -1088,15 +1088,8 @@ ssl3_get_client_hello(SSL *s) j = 0; id = s->session->cipher->id; -#ifdef CIPHER_DEBUG - printf("client sent %d ciphers\n", sk_num(ciphers)); -#endif for (i = 0; i < sk_SSL_CIPHER_num(ciphers); i++) { c = sk_SSL_CIPHER_value(ciphers, i); -#ifdef CIPHER_DEBUG - printf("client [%2d of %2d]:%s\n", - i, sk_num(ciphers), SSL_CIPHER_get_name(c)); -#endif if (c->id == id) { j = 1; break; @@ -1890,10 +1883,6 @@ ssl3_send_server_key_exchange(SSL *s) } p += 2; } -#ifdef SSL_DEBUG - fprintf(stderr, "Using hash %s\n", - EVP_MD_name(md)); -#endif EVP_SignInit_ex(&md_ctx, md, NULL); EVP_SignUpdate(&md_ctx, &(s->s3->client_random[0]), @@ -2662,10 +2651,6 @@ ssl3_get_cert_verify(SSL *s) al = SSL_AD_DECODE_ERROR; goto f_err; } -#ifdef SSL_DEBUG - fprintf(stderr, "USING TLSv1.2 HASH %s\n", - EVP_MD_name(md)); -#endif p += 2; n -= 2; } @@ -2696,10 +2681,6 @@ ssl3_get_cert_verify(SSL *s) al = SSL_AD_INTERNAL_ERROR; goto f_err; } -#ifdef SSL_DEBUG - fprintf(stderr, "Using TLS 1.2 with client verify alg %s\n", - EVP_MD_name(md)); -#endif if (!EVP_VerifyInit_ex(&mctx, md, NULL) || !EVP_VerifyUpdate(&mctx, hdata, hdatalen)) { SSLerr(SSL_F_SSL3_GET_CERT_VERIFY, -- cgit v1.2.3