summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/v3_cpols.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/x509v3/v3_cpols.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_cpols.c b/src/lib/libcrypto/x509v3/v3_cpols.c
index 34d3381d76..4359327b8b 100644
--- a/src/lib/libcrypto/x509v3/v3_cpols.c
+++ b/src/lib/libcrypto/x509v3/v3_cpols.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: v3_cpols.c,v 1.25 2017/01/29 17:49:23 beck Exp $ */ 1/* $OpenBSD: v3_cpols.c,v 1.26 2019/04/21 16:25:40 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 1999. 3 * project 1999.
4 */ 4 */
@@ -398,9 +398,8 @@ NOTICEREF_free(NOTICEREF *a)
398 ASN1_item_free((ASN1_VALUE *)a, &NOTICEREF_it); 398 ASN1_item_free((ASN1_VALUE *)a, &NOTICEREF_it);
399} 399}
400 400
401static 401static STACK_OF(POLICYINFO) *
402STACK_OF(POLICYINFO) *r2i_certpol(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, 402r2i_certpol(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *value)
403 char *value)
404{ 403{
405 STACK_OF(POLICYINFO) *pols = NULL; 404 STACK_OF(POLICYINFO) *pols = NULL;
406 char *pstr; 405 char *pstr;