[openssl-dev] '-CIPHER_DEBUG' error on 'dh_dsa'
Gisle Vanem
gvanem at yahoo.no
Sat Jan 16 12:51:28 UTC 2016
Having '-DCIPHER_DEBUG' in the CFLAGS causes this error in
MingW (gcc 5.1):
ssl/ssl_lib.c:2499:58: error: 'dh_dsa' undeclared (first use in this function)
dh_tmp, rsa_enc, rsa_sign, dsa_sign, dh_rsa, dh_dsa);
(+ a lot wore warnings). Time to retire/rewrite this 'CIPHER_DEBUG'
part? Or patch ssl/ssl_lib.c:
--- a/ssl/ssl_lib.c 2016-01-16 06:28:59
+++ b/ssl/ssl_lib.c 2016-01-16 13:40:51
@@ -2495,8 +2495,8 @@
#ifdef CIPHER_DEBUG
fprintf(stderr,
- "dht=%d re=%d rs=%d ds=%d dhr=%d dhd=%d\n",
- dh_tmp, rsa_enc, rsa_sign, dsa_sign, dh_rsa, dh_dsa);
+ "dht=%d re=%d rs=%d ds=%d\n",
+ dh_tmp, rsa_enc, rsa_sign, dsa_sign);
#endif
--
--gv
More information about the openssl-dev
mailing list