diff options
| author | tb <> | 2025-11-03 16:22:13 +0000 |
|---|---|---|
| committer | tb <> | 2025-11-03 16:22:13 +0000 |
| commit | 397ac5a0503a9527af9a1f166a1044a93d16bddc (patch) | |
| tree | 1389613398636ec25e4648d3d8643357f06a8167 | |
| parent | 2da1ecc5ffd4f8a3876276360b69ff3a0bf5f783 (diff) | |
| download | openbsd-397ac5a0503a9527af9a1f166a1044a93d16bddc.tar.gz openbsd-397ac5a0503a9527af9a1f166a1044a93d16bddc.tar.bz2 openbsd-397ac5a0503a9527af9a1f166a1044a93d16bddc.zip | |
x509_cpols: pass correct free function to sk_ASN1_INTEGER_free()
from Niels Dossche
| -rw-r--r-- | src/lib/libcrypto/x509/x509_cpols.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
| 1 | /* $OpenBSD: x509_cpols.c,v 1.17 2025/11/03 16:20:43 tb Exp $ */ | 1 | /* $OpenBSD: x509_cpols.c,v 1.18 2025/11/03 16:22:13 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 | */ |
| @@ -689,7 +689,7 @@ nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos) | |||
| 689 | X509V3error(ERR_R_MALLOC_FAILURE); | 689 | X509V3error(ERR_R_MALLOC_FAILURE); |
| 690 | 690 | ||
| 691 | err: | 691 | err: |
| 692 | sk_ASN1_INTEGER_pop_free(nnums, ASN1_STRING_free); | 692 | sk_ASN1_INTEGER_pop_free(nnums, ASN1_INTEGER_free); |
| 693 | return 0; | 693 | return 0; |
| 694 | } | 694 | } |
| 695 | 695 | ||
