Clear warnings/errors within CIPHER_DEBUG code sections
authorRichard Levitte <levitte@openssl.org>
Tue, 16 Dec 2014 01:54:50 +0000 (02:54 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 17 Dec 2014 13:17:54 +0000 (14:17 +0100)
Reviewed-by: Andy Polyakov <appro@openssl.org>
ssl/ssl_lib.c

index 8c269c4aaefe9b8bd9f69988d68a3fbf7ef8cc91..d56459fa156b29bd372de40a5e7b17add6a13c7e 100644 (file)
@@ -2277,7 +2277,7 @@ void ssl_set_cert_masks(CERT *c, const SSL_CIPHER *cipher)
        
 
 #ifdef CIPHER_DEBUG
-       printf("rt=%d rte=%d dht=%d ecdht=%d re=%d ree=%d rs=%d ds=%d dhr=%d dhd=%d\n",
+       fprintf(stderr,"rt=%d rte=%d dht=%d ecdht=%d re=%d ree=%d rs=%d ds=%d dhr=%d dhd=%d\n",
                rsa_tmp,rsa_tmp_export,dh_tmp,have_ecdh_tmp,
                rsa_enc,rsa_enc_export,rsa_sign,dsa_sign,dh_rsa,dh_dsa);
 #endif