summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-02-10 08:05:16 +0000
committerjsing <jsing@openbsd.org>2015-02-10 08:05:16 +0000
commitd04c4965b70cba924c700f4b1e5293ae8a70d468 (patch)
tree48d0a7904ef2092f1961876b6983de9aff9ebf5b /lib/libssl/src
parenttrim trailing white space, no code change; (diff)
downloadwireguard-openbsd-d04c4965b70cba924c700f4b1e5293ae8a70d468.tar.xz
wireguard-openbsd-d04c4965b70cba924c700f4b1e5293ae8a70d468.zip
Place the IMPLEMENT_ASN1_.*FUNCTION.* macros under an #ifndef
LIBRESSL_INTERNAL - we do not need them any more.
Diffstat (limited to 'lib/libssl/src')
-rw-r--r--lib/libssl/src/crypto/asn1/asn1t.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/asn1/asn1t.h b/lib/libssl/src/crypto/asn1/asn1t.h
index dff0276449f..1d96df81488 100644
--- a/lib/libssl/src/crypto/asn1/asn1t.h
+++ b/lib/libssl/src/crypto/asn1/asn1t.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asn1t.h,v 1.9 2014/06/12 15:49:27 deraadt Exp $ */
+/* $OpenBSD: asn1t.h,v 1.10 2015/02/10 08:05:16 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
@@ -766,6 +766,7 @@ typedef struct ASN1_STREAM_ARG_st {
#sname \
ASN1_ITEM_end(sname)
+#ifndef LIBRESSL_INTERNAL
/* Macro to implement standard functions in terms of ASN1_ITEM structures */
#define IMPLEMENT_ASN1_FUNCTIONS(stname) IMPLEMENT_ASN1_FUNCTIONS_fname(stname, stname, stname)
@@ -858,6 +859,8 @@ typedef struct ASN1_STREAM_ARG_st {
IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(stname, itname, fname) \
IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname, fname)
+#endif /* !LIBRESSL_INTERNAL */
+
/* external definitions for primitive types */
DECLARE_ASN1_ITEM(ASN1_BOOLEAN)