From 13d09795580ecd4584dec0d9c64220bea70b8031 Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 17 Apr 2014 13:20:30 +0000 Subject: [PATCH] OPENSSL_DECLARE_EXIT serves no purpose. --- lib/libcrypto/bf/bf_opts.c | 1 - lib/libcrypto/bf/bfspeed.c | 1 - lib/libcrypto/cast/cast_spd.c | 1 - lib/libcrypto/cast/castopts.c | 1 - lib/libcrypto/des/speed.c | 1 - lib/libcrypto/idea/idea_spd.c | 1 - lib/libcrypto/rc2/rc2speed.c | 1 - lib/libcrypto/rc4/rc4speed.c | 1 - lib/libcrypto/rc5/rc5speed.c | 1 - lib/libssl/src/crypto/bf/bf_opts.c | 1 - lib/libssl/src/crypto/bf/bfspeed.c | 1 - lib/libssl/src/crypto/cast/cast_spd.c | 1 - lib/libssl/src/crypto/cast/castopts.c | 1 - lib/libssl/src/crypto/des/speed.c | 1 - lib/libssl/src/crypto/idea/idea_spd.c | 1 - lib/libssl/src/crypto/rc2/rc2speed.c | 1 - lib/libssl/src/crypto/rc4/rc4speed.c | 1 - lib/libssl/src/crypto/rc5/rc5speed.c | 1 - lib/libssl/src/e_os2.h | 1 - 19 files changed, 19 deletions(-) diff --git a/lib/libcrypto/bf/bf_opts.c b/lib/libcrypto/bf/bf_opts.c index 7a2a8b571c6..da7a48740ed 100644 --- a/lib/libcrypto/bf/bf_opts.c +++ b/lib/libcrypto/bf/bf_opts.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libcrypto/bf/bfspeed.c b/lib/libcrypto/bf/bfspeed.c index 4fbf81d00c7..3eb8c15c651 100644 --- a/lib/libcrypto/bf/bfspeed.c +++ b/lib/libcrypto/bf/bfspeed.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libcrypto/cast/cast_spd.c b/lib/libcrypto/cast/cast_spd.c index 0f99e0e570d..46eb2ee8cc4 100644 --- a/lib/libcrypto/cast/cast_spd.c +++ b/lib/libcrypto/cast/cast_spd.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libcrypto/cast/castopts.c b/lib/libcrypto/cast/castopts.c index f18a49bd6ee..e5945771606 100644 --- a/lib/libcrypto/cast/castopts.c +++ b/lib/libcrypto/cast/castopts.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libcrypto/des/speed.c b/lib/libcrypto/des/speed.c index 67a8edf00ff..2f52c1c40f2 100644 --- a/lib/libcrypto/des/speed.c +++ b/lib/libcrypto/des/speed.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libcrypto/idea/idea_spd.c b/lib/libcrypto/idea/idea_spd.c index cce4be9e6fb..7905b779266 100644 --- a/lib/libcrypto/idea/idea_spd.c +++ b/lib/libcrypto/idea/idea_spd.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libcrypto/rc2/rc2speed.c b/lib/libcrypto/rc2/rc2speed.c index 31bfc453f5c..1c90ca3e36e 100644 --- a/lib/libcrypto/rc2/rc2speed.c +++ b/lib/libcrypto/rc2/rc2speed.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libcrypto/rc4/rc4speed.c b/lib/libcrypto/rc4/rc4speed.c index a1207231fa9..a495a738442 100644 --- a/lib/libcrypto/rc4/rc4speed.c +++ b/lib/libcrypto/rc4/rc4speed.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libcrypto/rc5/rc5speed.c b/lib/libcrypto/rc5/rc5speed.c index 3bcc8f49c0a..2e17321ebc1 100644 --- a/lib/libcrypto/rc5/rc5speed.c +++ b/lib/libcrypto/rc5/rc5speed.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libssl/src/crypto/bf/bf_opts.c b/lib/libssl/src/crypto/bf/bf_opts.c index 7a2a8b571c6..da7a48740ed 100644 --- a/lib/libssl/src/crypto/bf/bf_opts.c +++ b/lib/libssl/src/crypto/bf/bf_opts.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libssl/src/crypto/bf/bfspeed.c b/lib/libssl/src/crypto/bf/bfspeed.c index 4fbf81d00c7..3eb8c15c651 100644 --- a/lib/libssl/src/crypto/bf/bfspeed.c +++ b/lib/libssl/src/crypto/bf/bfspeed.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libssl/src/crypto/cast/cast_spd.c b/lib/libssl/src/crypto/cast/cast_spd.c index 0f99e0e570d..46eb2ee8cc4 100644 --- a/lib/libssl/src/crypto/cast/cast_spd.c +++ b/lib/libssl/src/crypto/cast/cast_spd.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libssl/src/crypto/cast/castopts.c b/lib/libssl/src/crypto/cast/castopts.c index f18a49bd6ee..e5945771606 100644 --- a/lib/libssl/src/crypto/cast/castopts.c +++ b/lib/libssl/src/crypto/cast/castopts.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libssl/src/crypto/des/speed.c b/lib/libssl/src/crypto/des/speed.c index 67a8edf00ff..2f52c1c40f2 100644 --- a/lib/libssl/src/crypto/des/speed.c +++ b/lib/libssl/src/crypto/des/speed.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libssl/src/crypto/idea/idea_spd.c b/lib/libssl/src/crypto/idea/idea_spd.c index cce4be9e6fb..7905b779266 100644 --- a/lib/libssl/src/crypto/idea/idea_spd.c +++ b/lib/libssl/src/crypto/idea/idea_spd.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libssl/src/crypto/rc2/rc2speed.c b/lib/libssl/src/crypto/rc2/rc2speed.c index 31bfc453f5c..1c90ca3e36e 100644 --- a/lib/libssl/src/crypto/rc2/rc2speed.c +++ b/lib/libssl/src/crypto/rc2/rc2speed.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libssl/src/crypto/rc4/rc4speed.c b/lib/libssl/src/crypto/rc4/rc4speed.c index a1207231fa9..a495a738442 100644 --- a/lib/libssl/src/crypto/rc4/rc4speed.c +++ b/lib/libssl/src/crypto/rc4/rc4speed.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libssl/src/crypto/rc5/rc5speed.c b/lib/libssl/src/crypto/rc5/rc5speed.c index 3bcc8f49c0a..2e17321ebc1 100644 --- a/lib/libssl/src/crypto/rc5/rc5speed.c +++ b/lib/libssl/src/crypto/rc5/rc5speed.c @@ -67,7 +67,6 @@ #include #include -OPENSSL_DECLARE_EXIT #ifndef OPENSSL_SYS_NETWARE #include diff --git a/lib/libssl/src/e_os2.h b/lib/libssl/src/e_os2.h index 39f654074ac..68b2d10c882 100644 --- a/lib/libssl/src/e_os2.h +++ b/lib/libssl/src/e_os2.h @@ -111,7 +111,6 @@ extern "C" { /* Specials for I/O an exit */ -# define OPENSSL_DECLARE_EXIT /* declared in unistd.h */ # define OPENSSL_EXPORT extern # define OPENSSL_IMPORT extern # define OPENSSL_GLOBAL -- 2.20.1