diff options
author | Richard Levitte <levitte@openssl.org> | 2000-09-07 10:18:05 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-09-07 10:18:05 +0200 |
commit | 9fc2570677f9f5c4468af9d6324b7bcd7d0e9c6a (patch) | |
tree | 72a904450481dd6eb38852b34fcba8d391076ea2 /crypto/crypto.h | |
parent | Another thing I'm working on. (diff) | |
download | openssl-9fc2570677f9f5c4468af9d6324b7bcd7d0e9c6a.tar.xz openssl-9fc2570677f9f5c4468af9d6324b7bcd7d0e9c6a.zip |
It's not just VMS that needs some symbols to be hacked. Let's
centralise those hacks in crypto/symhacks.h and use it everywhere it's
needed.
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r-- | crypto/crypto.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h index 6f83650df8..df6ccaff6d 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -73,10 +73,9 @@ #include <openssl/ebcdic.h> #endif -#if defined(VMS) || defined(__VMS) -#include "vms_idhacks.h" -#endif - +/* Resolve problems on some operating systems with symbol names that clash + one way or another */ +#include <openssl/symhacks.h> #ifdef __cplusplus extern "C" { @@ -275,12 +274,6 @@ int CRYPTO_is_mem_check_on(void); #define OPENSSL_free_locked(addr) CRYPTO_free_locked(addr) -/* Case insensiteve linking causes problems.... */ -#if defined(WIN16) || defined(VMS) -#define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings -#endif - - const char *SSLeay_version(int type); unsigned long SSLeay(void); |