summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/x_x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/x_x509.c')
-rw-r--r--src/lib/libcrypto/asn1/x_x509.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/x_x509.c b/src/lib/libcrypto/asn1/x_x509.c
index 8fd2d7684b..a2778911cd 100644
--- a/src/lib/libcrypto/asn1/x_x509.c
+++ b/src/lib/libcrypto/asn1/x_x509.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x_x509.c,v 1.18 2015/02/09 15:05:59 jsing Exp $ */ 1/* $OpenBSD: x_x509.c,v 1.19 2015/02/10 04:21:50 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 *
@@ -187,7 +187,12 @@ X509_free(X509 *a)
187{ 187{
188 ASN1_item_free((ASN1_VALUE *)a, &X509_it); 188 ASN1_item_free((ASN1_VALUE *)a, &X509_it);
189} 189}
190IMPLEMENT_ASN1_DUP_FUNCTION(X509) 190
191X509 *
192X509_dup(X509 *x)
193{
194 return ASN1_item_dup(ASN1_ITEM_rptr(X509), x);
195}
191 196
192int 197int
193X509_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, 198X509_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,