diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_cpols.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_cpols.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_cpols.c b/src/lib/libcrypto/x509/x509_cpols.c index 7a701ea659..a8aa9a3eb6 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.13 2024/07/13 15:08:58 tb Exp $ */ | 1 | /* $OpenBSD: x509_cpols.c,v 1.14 2025/03/06 07:17:45 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 | */ |
@@ -468,7 +468,6 @@ r2i_certpol(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *value) | |||
468 | goto err; | 468 | goto err; |
469 | } | 469 | } |
470 | pol = policy_section(ctx, polsect, ia5org); | 470 | pol = policy_section(ctx, polsect, ia5org); |
471 | X509V3_section_free(ctx, polsect); | ||
472 | if (!pol) | 471 | if (!pol) |
473 | goto err; | 472 | goto err; |
474 | } else { | 473 | } else { |
@@ -551,7 +550,6 @@ policy_section(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *polstrs, int ia5org) | |||
551 | goto err; | 550 | goto err; |
552 | } | 551 | } |
553 | qual = notice_section(ctx, unot, ia5org); | 552 | qual = notice_section(ctx, unot, ia5org); |
554 | X509V3_section_free(ctx, unot); | ||
555 | if (qual == NULL) | 553 | if (qual == NULL) |
556 | goto err; | 554 | goto err; |
557 | 555 | ||