summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1
diff options
context:
space:
mode:
authormiod <>2014-04-27 20:22:32 +0000
committermiod <>2014-04-27 20:22:32 +0000
commitbd5a66272a209275525e9b682866536ecc1fd55c (patch)
treec8c5949ba3c7d5776bf145dc8ec67f169738347d /src/lib/libcrypto/asn1
parentdca0aaa15884eb5bf1105e1c7a6323f11be4abd3 (diff)
downloadopenbsd-bd5a66272a209275525e9b682866536ecc1fd55c.tar.gz
openbsd-bd5a66272a209275525e9b682866536ecc1fd55c.tar.bz2
openbsd-bd5a66272a209275525e9b682866536ecc1fd55c.zip
Unifdef -U OPENSSL_BUILD_SHLIBCRYPTO, since all it causes under Unix is to
redefine OPENSSL_EXTERN from `extern' to `extern'.
Diffstat (limited to 'src/lib/libcrypto/asn1')
-rw-r--r--src/lib/libcrypto/asn1/asn1.h5
-rw-r--r--src/lib/libcrypto/asn1/asn1t.h5
2 files changed, 0 insertions, 10 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