summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/x_attrib.c
diff options
context:
space:
mode:
authorjsing <>2015-02-10 05:25:45 +0000
committerjsing <>2015-02-10 05:25:45 +0000
commit2eecb536a9b8f1c8c2ea5f485be1748d475a131c (patch)
treea96c56e7d9c17b8f427e46811a048b0b099939e7 /src/lib/libcrypto/asn1/x_attrib.c
parent420e4433e0663a16ac8ce2d0d644bc67b2ced591 (diff)
downloadopenbsd-2eecb536a9b8f1c8c2ea5f485be1748d475a131c.tar.gz
openbsd-2eecb536a9b8f1c8c2ea5f485be1748d475a131c.tar.bz2
openbsd-2eecb536a9b8f1c8c2ea5f485be1748d475a131c.zip
Manually expand ASN1_ITEM_rptr macros that should have been expanded with
the IMPLEMENT_ASN1_DUP_FUNCTION macro.
Diffstat (limited to 'src/lib/libcrypto/asn1/x_attrib.c')
-rw-r--r--src/lib/libcrypto/asn1/x_attrib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/x_attrib.c b/src/lib/libcrypto/asn1/x_attrib.c
index 4306bd6240..9c00906ded 100644
--- a/src/lib/libcrypto/asn1/x_attrib.c
+++ b/src/lib/libcrypto/asn1/x_attrib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x_attrib.c,v 1.11 2015/02/10 04:21:50 jsing Exp $ */ 1/* $OpenBSD: x_attrib.c,v 1.12 2015/02/10 05:25:45 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -122,7 +122,7 @@ X509_ATTRIBUTE_free(X509_ATTRIBUTE *a)
122X509_ATTRIBUTE * 122X509_ATTRIBUTE *
123X509_ATTRIBUTE_dup(X509_ATTRIBUTE *x) 123X509_ATTRIBUTE_dup(X509_ATTRIBUTE *x)
124{ 124{
125 return ASN1_item_dup(ASN1_ITEM_rptr(X509_ATTRIBUTE), x); 125 return ASN1_item_dup(&X509_ATTRIBUTE_it, x);
126} 126}
127 127
128X509_ATTRIBUTE * 128X509_ATTRIBUTE *