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:27:42 +0000 (14:27 +0100)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(cherry picked from commit cd387d21daa939862e081f00be0a98dbc5a85351)

ssl/ssl_lib.c

index 81f976a579e948153812745f0a631b3df7767e7d..2fab2f15f29bd78c111402bd5749fd8f58ca5fe9 100644 (file)
@@ -2094,7 +2094,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