summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2016-12-30 16:19:24 +0000
committerjsing <jsing@openbsd.org>2016-12-30 16:19:24 +0000
commit444df01235f1a215215fc3d28bf209e64d2441e5 (patch)
tree08237e78fbfcd378dc26cb1872cf5e701e85d27f
parentExpand ASN1_ITEM_rptr macros - no change in preprocessor output. (diff)
downloadwireguard-openbsd-444df01235f1a215215fc3d28bf209e64d2441e5.tar.xz
wireguard-openbsd-444df01235f1a215215fc3d28bf209e64d2441e5.zip
Expand ASN1_ITEM_rptr macros - no change in preprocessor output.
-rw-r--r--lib/libcrypto/x509v3/x509v3.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/x509v3/x509v3.h b/lib/libcrypto/x509v3/x509v3.h
index c0a543d406d..0a8f66f9179 100644
--- a/lib/libcrypto/x509v3/x509v3.h
+++ b/lib/libcrypto/x509v3/x509v3.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509v3.h,v 1.20 2016/12/27 16:05:57 jsing Exp $ */
+/* $OpenBSD: x509v3.h,v 1.21 2016/12/30 16:19:24 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
@@ -391,7 +391,7 @@ struct ISSUING_DIST_POINT_st
X509V3_set_ctx(ctx, NULL, NULL, NULL, NULL, CTX_TEST)
#define X509V3_set_ctx_nodb(ctx) (ctx)->db = NULL;
-#define EXT_BITSTRING(nid, table) { nid, 0, ASN1_ITEM_ref(ASN1_BIT_STRING), \
+#define EXT_BITSTRING(nid, table) { nid, 0, &ASN1_BIT_STRING_it, \
0,0,0,0, \
0,0, \
(X509V3_EXT_I2V)i2v_ASN1_BIT_STRING, \
@@ -399,7 +399,7 @@ struct ISSUING_DIST_POINT_st
NULL, NULL, \
table}
-#define EXT_IA5STRING(nid) { nid, 0, ASN1_ITEM_ref(ASN1_IA5STRING), \
+#define EXT_IA5STRING(nid) { nid, 0, &ASN1_IA5STRING_it, \
0,0,0,0, \
(X509V3_EXT_I2S)i2s_ASN1_IA5STRING, \
(X509V3_EXT_S2I)s2i_ASN1_IA5STRING, \