summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/bn/bn.h7
-rw-r--r--src/lib/libcrypto/ossl_typ.h9
-rw-r--r--src/lib/libcrypto/pkcs7/pkcs7.h6
-rw-r--r--src/lib/libcrypto/x509/x509.h7
-rw-r--r--src/lib/libssl/src/crypto/bn/bn.h7
-rw-r--r--src/lib/libssl/src/crypto/ossl_typ.h9
-rw-r--r--src/lib/libssl/src/crypto/pkcs7/pkcs7.h6
-rw-r--r--src/lib/libssl/src/crypto/x509/x509.h7
-rw-r--r--src/lib/libssl/src/e_os2.h46
9 files changed, 2 insertions, 102 deletions
diff --git a/src/lib/libcrypto/bn/bn.h b/src/lib/libcrypto/bn/bn.h
index 2e3fab98db..4959232179 100644
--- a/src/lib/libcrypto/bn/bn.h
+++ b/src/lib/libcrypto/bn/bn.h
@@ -165,12 +165,7 @@ extern "C" {
165 * For machines with only one compiler (or shared libraries), this should 165 * For machines with only one compiler (or shared libraries), this should
166 * be on. Again this in only really a problem on machines 166 * be on. Again this in only really a problem on machines
167 * using "long long's", are 32bit, and are not using my assembler code. */ 167 * using "long long's", are 32bit, and are not using my assembler code. */
168#if defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_WINDOWS) || \ 168/* #define BN_DIV2W */
169 defined(OPENSSL_SYS_WIN32) || defined(linux)
170# ifndef BN_DIV2W
171# define BN_DIV2W
172# endif
173#endif
174 169
175/* assuming long is 64bit - this is the DEC Alpha 170/* assuming long is 64bit - this is the DEC Alpha
176 * unsigned long long is only 64 bits :-(, don't define 171 * unsigned long long is only 64 bits :-(, don't define
diff --git a/src/lib/libcrypto/ossl_typ.h b/src/lib/libcrypto/ossl_typ.h
index ae79bf8ae4..3c360b0d9b 100644
--- a/src/lib/libcrypto/ossl_typ.h
+++ b/src/lib/libcrypto/ossl_typ.h
@@ -99,15 +99,6 @@ typedef int ASN1_NULL;
99typedef struct ASN1_ITEM_st ASN1_ITEM; 99typedef struct ASN1_ITEM_st ASN1_ITEM;
100typedef struct asn1_pctx_st ASN1_PCTX; 100typedef struct asn1_pctx_st ASN1_PCTX;
101 101
102#ifdef OPENSSL_SYS_WIN32
103#undef X509_NAME
104#undef X509_EXTENSIONS
105#undef X509_CERT_PAIR
106#undef PKCS7_ISSUER_AND_SERIAL
107#undef OCSP_REQUEST
108#undef OCSP_RESPONSE
109#endif
110
111#ifdef BIGNUM 102#ifdef BIGNUM
112#undef BIGNUM 103#undef BIGNUM
113#endif 104#endif
diff --git a/src/lib/libcrypto/pkcs7/pkcs7.h b/src/lib/libcrypto/pkcs7/pkcs7.h
index 4476d61374..04edb22f75 100644
--- a/src/lib/libcrypto/pkcs7/pkcs7.h
+++ b/src/lib/libcrypto/pkcs7/pkcs7.h
@@ -69,12 +69,6 @@
69extern "C" { 69extern "C" {
70#endif 70#endif
71 71
72#ifdef OPENSSL_SYS_WIN32
73/* Under Win32 thes are defined in wincrypt.h */
74#undef PKCS7_ISSUER_AND_SERIAL
75#undef PKCS7_SIGNER_INFO
76#endif
77
78/* 72/*
79Encryption_ID DES-CBC 73Encryption_ID DES-CBC
80Digest_ID MD5 74Digest_ID MD5
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index 27befbbbb0..2b0435686a 100644
--- a/src/lib/libcrypto/x509/x509.h
+++ b/src/lib/libcrypto/x509/x509.h
@@ -111,13 +111,6 @@
111extern "C" { 111extern "C" {
112#endif 112#endif
113 113
114#ifdef OPENSSL_SYS_WIN32
115/* Under Win32 these are defined in wincrypt.h */
116#undef X509_NAME
117#undef X509_CERT_PAIR
118#undef X509_EXTENSIONS
119#endif
120
121#define X509_FILETYPE_PEM 1 114#define X509_FILETYPE_PEM 1
122#define X509_FILETYPE_ASN1 2 115#define X509_FILETYPE_ASN1 2
123#define X509_FILETYPE_DEFAULT 3 116#define X509_FILETYPE_DEFAULT 3
diff --git a/src/lib/libssl/src/crypto/bn/bn.h b/src/lib/libssl/src/crypto/bn/bn.h
index 2e3fab98db..4959232179 100644
--- a/src/lib/libssl/src/crypto/bn/bn.h
+++ b/src/lib/libssl/src/crypto/bn/bn.h
@@ -165,12 +165,7 @@ extern "C" {
165 * For machines with only one compiler (or shared libraries), this should 165 * For machines with only one compiler (or shared libraries), this should
166 * be on. Again this in only really a problem on machines 166 * be on. Again this in only really a problem on machines
167 * using "long long's", are 32bit, and are not using my assembler code. */ 167 * using "long long's", are 32bit, and are not using my assembler code. */
168#if defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_WINDOWS) || \ 168/* #define BN_DIV2W */
169 defined(OPENSSL_SYS_WIN32) || defined(linux)
170# ifndef BN_DIV2W
171# define BN_DIV2W
172# endif
173#endif
174 169
175/* assuming long is 64bit - this is the DEC Alpha 170/* assuming long is 64bit - this is the DEC Alpha
176 * unsigned long long is only 64 bits :-(, don't define 171 * unsigned long long is only 64 bits :-(, don't define
diff --git a/src/lib/libssl/src/crypto/ossl_typ.h b/src/lib/libssl/src/crypto/ossl_typ.h
index ae79bf8ae4..3c360b0d9b 100644
--- a/src/lib/libssl/src/crypto/ossl_typ.h
+++ b/src/lib/libssl/src/crypto/ossl_typ.h
@@ -99,15 +99,6 @@ typedef int ASN1_NULL;
99typedef struct ASN1_ITEM_st ASN1_ITEM; 99typedef struct ASN1_ITEM_st ASN1_ITEM;
100typedef struct asn1_pctx_st ASN1_PCTX; 100typedef struct asn1_pctx_st ASN1_PCTX;
101 101
102#ifdef OPENSSL_SYS_WIN32
103#undef X509_NAME
104#undef X509_EXTENSIONS
105#undef X509_CERT_PAIR
106#undef PKCS7_ISSUER_AND_SERIAL
107#undef OCSP_REQUEST
108#undef OCSP_RESPONSE
109#endif
110
111#ifdef BIGNUM 102#ifdef BIGNUM
112#undef BIGNUM 103#undef BIGNUM
113#endif 104#endif
diff --git a/src/lib/libssl/src/crypto/pkcs7/pkcs7.h b/src/lib/libssl/src/crypto/pkcs7/pkcs7.h
index 4476d61374..04edb22f75 100644
--- a/src/lib/libssl/src/crypto/pkcs7/pkcs7.h
+++ b/src/lib/libssl/src/crypto/pkcs7/pkcs7.h
@@ -69,12 +69,6 @@
69extern "C" { 69extern "C" {
70#endif 70#endif
71 71
72#ifdef OPENSSL_SYS_WIN32
73/* Under Win32 thes are defined in wincrypt.h */
74#undef PKCS7_ISSUER_AND_SERIAL
75#undef PKCS7_SIGNER_INFO
76#endif
77
78/* 72/*
79Encryption_ID DES-CBC 73Encryption_ID DES-CBC
80Digest_ID MD5 74Digest_ID MD5
diff --git a/src/lib/libssl/src/crypto/x509/x509.h b/src/lib/libssl/src/crypto/x509/x509.h
index 27befbbbb0..2b0435686a 100644
--- a/src/lib/libssl/src/crypto/x509/x509.h
+++ b/src/lib/libssl/src/crypto/x509/x509.h
@@ -111,13 +111,6 @@
111extern "C" { 111extern "C" {
112#endif 112#endif
113 113
114#ifdef OPENSSL_SYS_WIN32
115/* Under Win32 these are defined in wincrypt.h */
116#undef X509_NAME
117#undef X509_CERT_PAIR
118#undef X509_EXTENSIONS
119#endif
120
121#define X509_FILETYPE_PEM 1 114#define X509_FILETYPE_PEM 1
122#define X509_FILETYPE_ASN1 2 115#define X509_FILETYPE_ASN1 2
123#define X509_FILETYPE_DEFAULT 3 116#define X509_FILETYPE_DEFAULT 3
diff --git a/src/lib/libssl/src/e_os2.h b/src/lib/libssl/src/e_os2.h
index 68b2d10c88..c6e38aa831 100644
--- a/src/lib/libssl/src/e_os2.h
+++ b/src/lib/libssl/src/e_os2.h
@@ -62,54 +62,8 @@
62extern "C" { 62extern "C" {
63#endif 63#endif
64 64
65/******************************************************************************
66 * Detect operating systems. This probably needs completing.
67 * The result is that at least one OPENSSL_SYS_os macro should be defined.
68 * However, if none is defined, Unix is assumed.
69 **/
70
71#define OPENSSL_SYS_UNIX 65#define OPENSSL_SYS_UNIX
72 66
73/* --------------------------------- Unix ---------------------------------- */
74#ifdef OPENSSL_SYS_UNIX
75# if defined(linux) || defined(__linux__) || defined(OPENSSL_SYSNAME_LINUX)
76# define OPENSSL_SYS_LINUX
77# endif
78# ifdef OPENSSL_SYSNAME_MPE
79# define OPENSSL_SYS_MPE
80# endif
81# ifdef OPENSSL_SYSNAME_SNI
82# define OPENSSL_SYS_SNI
83# endif
84# ifdef OPENSSL_SYSNAME_ULTRASPARC
85# define OPENSSL_SYS_ULTRASPARC
86# endif
87# ifdef OPENSSL_SYSNAME_NEWS4
88# define OPENSSL_SYS_NEWS4
89# endif
90# ifdef OPENSSL_SYSNAME_MACOSX
91# define OPENSSL_SYS_MACOSX
92# endif
93# ifdef OPENSSL_SYSNAME_MACOSX_RHAPSODY
94# define OPENSSL_SYS_MACOSX_RHAPSODY
95# define OPENSSL_SYS_MACOSX
96# endif
97# ifdef OPENSSL_SYSNAME_SUNOS
98# define OPENSSL_SYS_SUNOS
99#endif
100# if defined(_CRAY) || defined(OPENSSL_SYSNAME_CRAY)
101# define OPENSSL_SYS_CRAY
102# endif
103# if defined(_AIX) || defined(OPENSSL_SYSNAME_AIX)
104# define OPENSSL_SYS_AIX
105# endif
106#endif
107
108/**
109 * That's it for OS-specific stuff
110 *****************************************************************************/
111
112
113/* Specials for I/O an exit */ 67/* Specials for I/O an exit */
114# define OPENSSL_EXPORT extern 68# define OPENSSL_EXPORT extern
115# define OPENSSL_IMPORT extern 69# define OPENSSL_IMPORT extern