From 397ac5a0503a9527af9a1f166a1044a93d16bddc Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 3 Nov 2025 16:22:13 +0000 Subject: x509_cpols: pass correct free function to sk_ASN1_INTEGER_free() from Niels Dossche --- src/lib/libcrypto/x509/x509_cpols.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/x509/x509_cpols.c b/src/lib/libcrypto/x509/x509_cpols.c index 8f2869a16e..2c36cbd0f8 100644 --- a/src/lib/libcrypto/x509/x509_cpols.c +++ b/src/lib/libcrypto/x509/x509_cpols.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_cpols.c,v 1.17 2025/11/03 16:20:43 tb Exp $ */ +/* $OpenBSD: x509_cpols.c,v 1.18 2025/11/03 16:22:13 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -689,7 +689,7 @@ nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos) X509V3error(ERR_R_MALLOC_FAILURE); err: - sk_ASN1_INTEGER_pop_free(nnums, ASN1_STRING_free); + sk_ASN1_INTEGER_pop_free(nnums, ASN1_INTEGER_free); return 0; } -- cgit v1.2.3-55-g6feb