diff options
author | jsing <> | 2014-05-16 14:24:36 +0000 |
---|---|---|
committer | jsing <> | 2014-05-16 14:24:36 +0000 |
commit | d6d4e206cd692584735252f0a21af1b42608bc28 (patch) | |
tree | 4381a37501b47b394536ba12ad22e8d0b233b62a /src/lib/libcrypto/evp/evp.h | |
parent | 1eeef6fd82d0dec3015800123cb212520761c54d (diff) | |
download | openbsd-d6d4e206cd692584735252f0a21af1b42608bc28.tar.gz openbsd-d6d4e206cd692584735252f0a21af1b42608bc28.tar.bz2 openbsd-d6d4e206cd692584735252f0a21af1b42608bc28.zip |
When OPENSSL_LOAD_CONF was added it ended up with more #if 0 code,
more #ifdefs and a new source file that contains a single function.
Nuke the #if 0 code that is now a macro and move the single function in
evp_acnf.c to c_all.c, which is where the other code lives. While here,
tidy evp.h slightly, remove an unnecessary #ifdef __OpenBSD__ and nuke
a comment that is now a lie.
ok miod@
Diffstat (limited to 'src/lib/libcrypto/evp/evp.h')
-rw-r--r-- | src/lib/libcrypto/evp/evp.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index 437e36194f..3219a63d03 100644 --- a/src/lib/libcrypto/evp/evp.h +++ b/src/lib/libcrypto/evp/evp.h | |||
@@ -830,15 +830,14 @@ void OPENSSL_add_all_algorithms_noconf(void); | |||
830 | void OPENSSL_add_all_algorithms_conf(void); | 830 | void OPENSSL_add_all_algorithms_conf(void); |
831 | 831 | ||
832 | #ifdef OPENSSL_LOAD_CONF | 832 | #ifdef OPENSSL_LOAD_CONF |
833 | #define OpenSSL_add_all_algorithms() \ | 833 | #define OpenSSL_add_all_algorithms() OPENSSL_add_all_algorithms_conf() |
834 | OPENSSL_add_all_algorithms_conf() | ||
835 | #else | 834 | #else |
836 | #define OpenSSL_add_all_algorithms() \ | 835 | #define OpenSSL_add_all_algorithms() OPENSSL_add_all_algorithms_noconf() |
837 | OPENSSL_add_all_algorithms_noconf() | ||
838 | #endif | 836 | #endif |
839 | 837 | ||
840 | void OpenSSL_add_all_ciphers(void); | 838 | void OpenSSL_add_all_ciphers(void); |
841 | void OpenSSL_add_all_digests(void); | 839 | void OpenSSL_add_all_digests(void); |
840 | |||
842 | #define SSLeay_add_all_algorithms() OpenSSL_add_all_algorithms() | 841 | #define SSLeay_add_all_algorithms() OpenSSL_add_all_algorithms() |
843 | #define SSLeay_add_all_ciphers() OpenSSL_add_all_ciphers() | 842 | #define SSLeay_add_all_ciphers() OpenSSL_add_all_ciphers() |
844 | #define SSLeay_add_all_digests() OpenSSL_add_all_digests() | 843 | #define SSLeay_add_all_digests() OpenSSL_add_all_digests() |