From 5bafb04d2e8a792afbc97395410ef3291f3fbc8b Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 17 Dec 2014 13:21:54 +0000 Subject: [PATCH] Remove redundant OPENSSL_NO_DEPRECATED suppression Reviewed-by: Rich Salz --- apps/dsaparam.c | 5 ----- apps/gendh.c | 5 ----- apps/genrsa.c | 5 ----- apps/req.c | 6 ------ apps/s_server.c | 5 ----- crypto/bn/bntest.c | 6 ------ crypto/dh/dhtest.c | 6 ------ crypto/dsa/dsatest.c | 6 ------ 8 files changed, 44 deletions(-) diff --git a/apps/dsaparam.c b/apps/dsaparam.c index 8ee5d42ae7..fcbd794947 100644 --- a/apps/dsaparam.c +++ b/apps/dsaparam.c @@ -57,11 +57,6 @@ */ #include /* for OPENSSL_NO_DSA */ -/* Until the key-gen callbacks are modified to use newer prototypes, we allow - * deprecated functions for openssl-internal code */ -#ifdef OPENSSL_NO_DEPRECATED -#undef OPENSSL_NO_DEPRECATED -#endif #ifndef OPENSSL_NO_DSA #include diff --git a/apps/gendh.c b/apps/gendh.c index c8645a4993..4581bfac70 100644 --- a/apps/gendh.c +++ b/apps/gendh.c @@ -58,11 +58,6 @@ */ #include -/* Until the key-gen callbacks are modified to use newer prototypes, we allow - * deprecated functions for openssl-internal code */ -#ifdef OPENSSL_NO_DEPRECATED -#undef OPENSSL_NO_DEPRECATED -#endif #ifndef OPENSSL_NO_DH #include diff --git a/apps/genrsa.c b/apps/genrsa.c index 54e30d343b..fe00af9bd2 100644 --- a/apps/genrsa.c +++ b/apps/genrsa.c @@ -57,11 +57,6 @@ */ #include -/* Until the key-gen callbacks are modified to use newer prototypes, we allow - * deprecated functions for openssl-internal code */ -#ifdef OPENSSL_NO_DEPRECATED -#undef OPENSSL_NO_DEPRECATED -#endif #ifndef OPENSSL_NO_RSA #include diff --git a/apps/req.c b/apps/req.c index 87ab41293d..a69915f2f4 100644 --- a/apps/req.c +++ b/apps/req.c @@ -56,12 +56,6 @@ * [including the GNU Public Licence.] */ -/* Until the key-gen callbacks are modified to use newer prototypes, we allow - * deprecated functions for openssl-internal code */ -#ifdef OPENSSL_NO_DEPRECATED -#undef OPENSSL_NO_DEPRECATED -#endif - #include #include #include diff --git a/apps/s_server.c b/apps/s_server.c index 21f7e04d58..1e407696e7 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -140,11 +140,6 @@ * OTHERWISE. */ -/* Until the key-gen callbacks are modified to use newer prototypes, we allow - * deprecated functions for openssl-internal code */ -#ifdef OPENSSL_NO_DEPRECATED -#undef OPENSSL_NO_DEPRECATED -#endif #include #include diff --git a/crypto/bn/bntest.c b/crypto/bn/bntest.c index 6e18a69363..0fa2504ceb 100644 --- a/crypto/bn/bntest.c +++ b/crypto/bn/bntest.c @@ -69,12 +69,6 @@ * */ -/* Until the key-gen callbacks are modified to use newer prototypes, we allow - * deprecated functions for openssl-internal code */ -#ifdef OPENSSL_NO_DEPRECATED -#undef OPENSSL_NO_DEPRECATED -#endif - #include #include #include diff --git a/crypto/dh/dhtest.c b/crypto/dh/dhtest.c index c98c8047a6..f4c2fd9cea 100644 --- a/crypto/dh/dhtest.c +++ b/crypto/dh/dhtest.c @@ -56,12 +56,6 @@ * [including the GNU Public Licence.] */ -/* Until the key-gen callbacks are modified to use newer prototypes, we allow - * deprecated functions for openssl-internal code */ -#ifdef OPENSSL_NO_DEPRECATED -#undef OPENSSL_NO_DEPRECATED -#endif - #include #include #include diff --git a/crypto/dsa/dsatest.c b/crypto/dsa/dsatest.c index 271a8e0d0f..152205f1c0 100644 --- a/crypto/dsa/dsatest.c +++ b/crypto/dsa/dsatest.c @@ -56,12 +56,6 @@ * [including the GNU Public Licence.] */ -/* Until the key-gen callbacks are modified to use newer prototypes, we allow - * deprecated functions for openssl-internal code */ -#ifdef OPENSSL_NO_DEPRECATED -#undef OPENSSL_NO_DEPRECATED -#endif - #include #include #include -- 2.25.1