summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/asn1/asn1.h5
-rw-r--r--src/lib/libcrypto/asn1/asn1t.h5
-rw-r--r--src/lib/libcrypto/des/des.h4
-rw-r--r--src/lib/libcrypto/des/des_locl.h12
-rw-r--r--src/lib/libcrypto/des/des_ver.h5
-rw-r--r--src/lib/libssl/src/crypto/asn1/asn1.h5
-rw-r--r--src/lib/libssl/src/crypto/asn1/asn1t.h5
-rw-r--r--src/lib/libssl/src/crypto/des/des.h4
-rw-r--r--src/lib/libssl/src/crypto/des/des_locl.h12
-rw-r--r--src/lib/libssl/src/crypto/des/des_ver.h5
-rw-r--r--src/lib/libssl/src/ssl/ssl_locl.h5
-rw-r--r--src/lib/libssl/ssl_locl.h5
12 files changed, 2 insertions, 70 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h
index 868f9c059f..176a3d5b82 100644
--- a/src/lib/libcrypto/asn1/asn1.h
+++ b/src/lib/libcrypto/asn1/asn1.h
@@ -72,11 +72,6 @@
72#include <openssl/bn.h> 72#include <openssl/bn.h>
73#endif 73#endif
74 74
75#ifdef OPENSSL_BUILD_SHLIBCRYPTO
76# undef OPENSSL_EXTERN
77# define OPENSSL_EXTERN OPENSSL_EXPORT
78#endif
79
80#ifdef __cplusplus 75#ifdef __cplusplus
81extern "C" { 76extern "C" {
82#endif 77#endif
diff --git a/src/lib/libcrypto/asn1/asn1t.h b/src/lib/libcrypto/asn1/asn1t.h
index d230e4bf70..fcb3c5cf9a 100644
--- a/src/lib/libcrypto/asn1/asn1t.h
+++ b/src/lib/libcrypto/asn1/asn1t.h
@@ -62,11 +62,6 @@
62#include <openssl/e_os2.h> 62#include <openssl/e_os2.h>
63#include <openssl/asn1.h> 63#include <openssl/asn1.h>
64 64
65#ifdef OPENSSL_BUILD_SHLIBCRYPTO
66# undef OPENSSL_EXTERN
67# define OPENSSL_EXTERN OPENSSL_EXPORT
68#endif
69
70/* ASN1 template defines, structures and functions */ 65/* ASN1 template defines, structures and functions */
71 66
72#ifdef __cplusplus 67#ifdef __cplusplus
diff --git a/src/lib/libcrypto/des/des.h b/src/lib/libcrypto/des/des.h
index 122fc1403c..3eff114102 100644
--- a/src/lib/libcrypto/des/des.h
+++ b/src/lib/libcrypto/des/des.h
@@ -66,10 +66,6 @@
66#error DES is disabled. 66#error DES is disabled.
67#endif 67#endif
68 68
69#ifdef OPENSSL_BUILD_SHLIBCRYPTO
70# undef OPENSSL_EXTERN
71# define OPENSSL_EXTERN OPENSSL_EXPORT
72#endif
73 69
74#ifdef __cplusplus 70#ifdef __cplusplus
75extern "C" { 71extern "C" {
diff --git a/src/lib/libcrypto/des/des_locl.h b/src/lib/libcrypto/des/des_locl.h
index 1b0c53038c..1a21467b3e 100644
--- a/src/lib/libcrypto/des/des_locl.h
+++ b/src/lib/libcrypto/des/des_locl.h
@@ -61,24 +61,14 @@
61 61
62#include <openssl/e_os2.h> 62#include <openssl/e_os2.h>
63 63
64
65#include <stdio.h> 64#include <stdio.h>
66#include <stdlib.h> 65#include <stdlib.h>
66#include <string.h>
67 67
68#include <unistd.h> 68#include <unistd.h>
69#include <math.h> 69#include <math.h>
70#include <openssl/des.h> 70#include <openssl/des.h>
71 71
72
73#if defined(__STDC__)
74#include <string.h>
75#endif
76
77#ifdef OPENSSL_BUILD_SHLIBCRYPTO
78# undef OPENSSL_EXTERN
79# define OPENSSL_EXTERN OPENSSL_EXPORT
80#endif
81
82#define ITERATIONS 16 72#define ITERATIONS 16
83#define HALF_ITERATIONS 8 73#define HALF_ITERATIONS 8
84 74
diff --git a/src/lib/libcrypto/des/des_ver.h b/src/lib/libcrypto/des/des_ver.h
index d1ada258a6..b4a6ffdc39 100644
--- a/src/lib/libcrypto/des/des_ver.h
+++ b/src/lib/libcrypto/des/des_ver.h
@@ -58,11 +58,6 @@
58 58
59#include <openssl/e_os2.h> 59#include <openssl/e_os2.h>
60 60
61#ifdef OPENSSL_BUILD_SHLIBCRYPTO
62# undef OPENSSL_EXTERN
63# define OPENSSL_EXTERN OPENSSL_EXPORT
64#endif
65
66/* The following macros make sure the names are different from libdes names */ 61/* The following macros make sure the names are different from libdes names */
67#define DES_version OSSL_DES_version 62#define DES_version OSSL_DES_version
68#define libdes_version OSSL_libdes_version 63#define libdes_version OSSL_libdes_version
diff --git a/src/lib/libssl/src/crypto/asn1/asn1.h b/src/lib/libssl/src/crypto/asn1/asn1.h
index 868f9c059f..176a3d5b82 100644
--- a/src/lib/libssl/src/crypto/asn1/asn1.h
+++ b/src/lib/libssl/src/crypto/asn1/asn1.h
@@ -72,11 +72,6 @@
72#include <openssl/bn.h> 72#include <openssl/bn.h>
73#endif 73#endif
74 74
75#ifdef OPENSSL_BUILD_SHLIBCRYPTO
76# undef OPENSSL_EXTERN
77# define OPENSSL_EXTERN OPENSSL_EXPORT
78#endif
79
80#ifdef __cplusplus 75#ifdef __cplusplus
81extern "C" { 76extern "C" {
82#endif 77#endif
diff --git a/src/lib/libssl/src/crypto/asn1/asn1t.h b/src/lib/libssl/src/crypto/asn1/asn1t.h
index d230e4bf70..fcb3c5cf9a 100644
--- a/src/lib/libssl/src/crypto/asn1/asn1t.h
+++ b/src/lib/libssl/src/crypto/asn1/asn1t.h
@@ -62,11 +62,6 @@
62#include <openssl/e_os2.h> 62#include <openssl/e_os2.h>
63#include <openssl/asn1.h> 63#include <openssl/asn1.h>
64 64
65#ifdef OPENSSL_BUILD_SHLIBCRYPTO
66# undef OPENSSL_EXTERN
67# define OPENSSL_EXTERN OPENSSL_EXPORT
68#endif
69
70/* ASN1 template defines, structures and functions */ 65/* ASN1 template defines, structures and functions */
71 66
72#ifdef __cplusplus 67#ifdef __cplusplus
diff --git a/src/lib/libssl/src/crypto/des/des.h b/src/lib/libssl/src/crypto/des/des.h
index 122fc1403c..3eff114102 100644
--- a/src/lib/libssl/src/crypto/des/des.h
+++ b/src/lib/libssl/src/crypto/des/des.h
@@ -66,10 +66,6 @@
66#error DES is disabled. 66#error DES is disabled.
67#endif 67#endif
68 68
69#ifdef OPENSSL_BUILD_SHLIBCRYPTO
70# undef OPENSSL_EXTERN
71# define OPENSSL_EXTERN OPENSSL_EXPORT
72#endif
73 69
74#ifdef __cplusplus 70#ifdef __cplusplus
75extern "C" { 71extern "C" {
diff --git a/src/lib/libssl/src/crypto/des/des_locl.h b/src/lib/libssl/src/crypto/des/des_locl.h
index 1b0c53038c..1a21467b3e 100644
--- a/src/lib/libssl/src/crypto/des/des_locl.h
+++ b/src/lib/libssl/src/crypto/des/des_locl.h
@@ -61,24 +61,14 @@
61 61
62#include <openssl/e_os2.h> 62#include <openssl/e_os2.h>
63 63
64
65#include <stdio.h> 64#include <stdio.h>
66#include <stdlib.h> 65#include <stdlib.h>
66#include <string.h>
67 67
68#include <unistd.h> 68#include <unistd.h>
69#include <math.h> 69#include <math.h>
70#include <openssl/des.h> 70#include <openssl/des.h>
71 71
72
73#if defined(__STDC__)
74#include <string.h>
75#endif
76
77#ifdef OPENSSL_BUILD_SHLIBCRYPTO
78# undef OPENSSL_EXTERN
79# define OPENSSL_EXTERN OPENSSL_EXPORT
80#endif
81
82#define ITERATIONS 16 72#define ITERATIONS 16
83#define HALF_ITERATIONS 8 73#define HALF_ITERATIONS 8
84 74
diff --git a/src/lib/libssl/src/crypto/des/des_ver.h b/src/lib/libssl/src/crypto/des/des_ver.h
index d1ada258a6..b4a6ffdc39 100644
--- a/src/lib/libssl/src/crypto/des/des_ver.h
+++ b/src/lib/libssl/src/crypto/des/des_ver.h
@@ -58,11 +58,6 @@
58 58
59#include <openssl/e_os2.h> 59#include <openssl/e_os2.h>
60 60
61#ifdef OPENSSL_BUILD_SHLIBCRYPTO
62# undef OPENSSL_EXTERN
63# define OPENSSL_EXTERN OPENSSL_EXPORT
64#endif
65
66/* The following macros make sure the names are different from libdes names */ 61/* The following macros make sure the names are different from libdes names */
67#define DES_version OSSL_DES_version 62#define DES_version OSSL_DES_version
68#define libdes_version OSSL_libdes_version 63#define libdes_version OSSL_libdes_version
diff --git a/src/lib/libssl/src/ssl/ssl_locl.h b/src/lib/libssl/src/ssl/ssl_locl.h
index 71dac84dac..5100369bab 100644
--- a/src/lib/libssl/src/ssl/ssl_locl.h
+++ b/src/lib/libssl/src/ssl/ssl_locl.h
@@ -164,11 +164,6 @@
164#include <openssl/err.h> 164#include <openssl/err.h>
165#include <openssl/ssl.h> 165#include <openssl/ssl.h>
166 166
167#ifdef OPENSSL_BUILD_SHLIBSSL
168# undef OPENSSL_EXTERN
169# define OPENSSL_EXTERN OPENSSL_EXPORT
170#endif
171
172#define c2l(c,l) (l = ((unsigned long)(*((c)++))) , \ 167#define c2l(c,l) (l = ((unsigned long)(*((c)++))) , \
173 l|=(((unsigned long)(*((c)++)))<< 8), \ 168 l|=(((unsigned long)(*((c)++)))<< 8), \
174 l|=(((unsigned long)(*((c)++)))<<16), \ 169 l|=(((unsigned long)(*((c)++)))<<16), \
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 71dac84dac..5100369bab 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -164,11 +164,6 @@
164#include <openssl/err.h> 164#include <openssl/err.h>
165#include <openssl/ssl.h> 165#include <openssl/ssl.h>
166 166
167#ifdef OPENSSL_BUILD_SHLIBSSL
168# undef OPENSSL_EXTERN
169# define OPENSSL_EXTERN OPENSSL_EXPORT
170#endif
171
172#define c2l(c,l) (l = ((unsigned long)(*((c)++))) , \ 167#define c2l(c,l) (l = ((unsigned long)(*((c)++))) , \
173 l|=(((unsigned long)(*((c)++)))<< 8), \ 168 l|=(((unsigned long)(*((c)++)))<< 8), \
174 l|=(((unsigned long)(*((c)++)))<<16), \ 169 l|=(((unsigned long)(*((c)++)))<<16), \