summaryrefslogtreecommitdiffstats
path: root/crypto/crypto.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-09-07 08:18:05 +0000
committerRichard Levitte <levitte@openssl.org>2000-09-07 08:18:05 +0000
commit9fc2570677f9f5c4468af9d6324b7bcd7d0e9c6a (patch)
tree72a904450481dd6eb38852b34fcba8d391076ea2 /crypto/crypto.h
parent79d2eb64bb6d9fba12026244c318cb6833736af9 (diff)
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.h13
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);