From: Matt Caswell Date: Wed, 17 Dec 2014 13:21:54 +0000 (+0000) Subject: Remove redundant OPENSSL_NO_DEPRECATED suppression X-Git-Tag: master-pre-reformat~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bafb04d2e8a792afbc97395410ef3291f3fbc8b;p=thirdparty%2Fopenssl.git Remove redundant OPENSSL_NO_DEPRECATED suppression Reviewed-by: Rich Salz --- diff --git a/apps/dsaparam.c b/apps/dsaparam.c index 8ee5d42ae75..fcbd7949474 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 c8645a4993a..4581bfac709 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 54e30d343bd..fe00af9bd2d 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 87ab41293d1..a69915f2f4b 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 21f7e04d58c..1e407696e7f 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 6e18a693631..0fa2504cebc 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 c98c8047a62..f4c2fd9ceaa 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 271a8e0d0f8..152205f1c01 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