summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto')
-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
4 files changed, 1 insertions, 28 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