diff options
Diffstat (limited to 'lib/libcrypto/asn1/x_crl.c')
-rw-r--r-- | lib/libcrypto/asn1/x_crl.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libcrypto/asn1/x_crl.c b/lib/libcrypto/asn1/x_crl.c index 2539fd92c40..9919d576e40 100644 --- a/lib/libcrypto/asn1/x_crl.c +++ b/lib/libcrypto/asn1/x_crl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x_crl.c,v 1.19 2015/02/09 15:05:59 jsing Exp $ */ +/* $OpenBSD: x_crl.c,v 1.20 2015/02/10 04:21:50 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -412,7 +412,12 @@ X509_CRL_free(X509_CRL *a) { ASN1_item_free((ASN1_VALUE *)a, &X509_CRL_it); } -IMPLEMENT_ASN1_DUP_FUNCTION(X509_CRL) + +X509_CRL * +X509_CRL_dup(X509_CRL *x) +{ + return ASN1_item_dup(ASN1_ITEM_rptr(X509_CRL), x); +} static int X509_REVOKED_cmp(const X509_REVOKED * const *a, const X509_REVOKED * const *b) |