summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-05-24 07:26:05 +0000
committerjsing <jsing@openbsd.org>2014-05-24 07:26:05 +0000
commitec2925dc32c0b600717edd1023857b4972d6dc72 (patch)
treef7baae7dd7da26c180b0bbd86470909fc39dfd6b /lib/libssl/src
parentSpell ssize_t correctly (the incorrect spelling is ossl_ssize_t). (diff)
downloadwireguard-openbsd-ec2925dc32c0b600717edd1023857b4972d6dc72.tar.xz
wireguard-openbsd-ec2925dc32c0b600717edd1023857b4972d6dc72.zip
Expand OPENSSL_{GLOBAL,EXTERN} macros that I missed last time around,
since they are hiding in the #define forest. ok miod@
Diffstat (limited to 'lib/libssl/src')
-rw-r--r--lib/libssl/src/crypto/asn1/asn1.h2
-rw-r--r--lib/libssl/src/crypto/asn1/asn1t.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/asn1/asn1.h b/lib/libssl/src/crypto/asn1/asn1.h
index f92816b6c30..e7264ccb096 100644
--- a/lib/libssl/src/crypto/asn1/asn1.h
+++ b/lib/libssl/src/crypto/asn1/asn1.h
@@ -398,7 +398,7 @@ typedef const ASN1_ITEM ASN1_ITEM_EXP;
#define ASN1_ITEM_rptr(ref) (&(ref##_it))
#define DECLARE_ASN1_ITEM(name) \
- OPENSSL_EXTERN const ASN1_ITEM name##_it;
+ extern const ASN1_ITEM name##_it;
#else
diff --git a/lib/libssl/src/crypto/asn1/asn1t.h b/lib/libssl/src/crypto/asn1/asn1t.h
index fcb3c5cf9ac..21d41bc11e9 100644
--- a/lib/libssl/src/crypto/asn1/asn1t.h
+++ b/lib/libssl/src/crypto/asn1/asn1t.h
@@ -78,7 +78,7 @@ extern "C" {
/* Macros for start and end of ASN1_ITEM definition */
#define ASN1_ITEM_start(itname) \
- OPENSSL_GLOBAL const ASN1_ITEM itname##_it = {
+ const ASN1_ITEM itname##_it = {
#define ASN1_ITEM_end(itname) \
};