diff options
| author | tb <> | 2024-06-23 07:50:52 +0000 |
|---|---|---|
| committer | tb <> | 2024-06-23 07:50:52 +0000 |
| commit | 2ce7c4a21e1cf197d94a02dec415e9f55a6a7294 (patch) | |
| tree | 60c74c3c67402de7a5fadb7ad64fb7208f8725da /src | |
| parent | 4393a2b1a3d2fd62b31919e8f33f8355c81dcdf8 (diff) | |
| download | openbsd-2ce7c4a21e1cf197d94a02dec415e9f55a6a7294.tar.gz openbsd-2ce7c4a21e1cf197d94a02dec415e9f55a6a7294.tar.bz2 openbsd-2ce7c4a21e1cf197d94a02dec415e9f55a6a7294.zip | |
openssl ca: avoid double free for spkac files without default section
ok jsing
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr.bin/openssl/ca.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/ca.c b/src/usr.bin/openssl/ca.c index 6fedd22c95..c0e011e7ad 100644 --- a/src/usr.bin/openssl/ca.c +++ b/src/usr.bin/openssl/ca.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ca.c,v 1.58 2024/02/04 13:08:29 tb Exp $ */ | 1 | /* $OpenBSD: ca.c,v 1.59 2024/06/23 07:50:52 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -2330,7 +2330,6 @@ certify_spkac(X509 **xret, char *infile, EVP_PKEY *pkey, X509 *x509, | |||
| 2330 | if (sk_CONF_VALUE_num(sk) == 0) { | 2330 | if (sk_CONF_VALUE_num(sk) == 0) { |
| 2331 | BIO_printf(bio_err, "no name/value pairs found in %s\n", | 2331 | BIO_printf(bio_err, "no name/value pairs found in %s\n", |
| 2332 | infile); | 2332 | infile); |
| 2333 | CONF_free(parms); | ||
| 2334 | goto err; | 2333 | goto err; |
| 2335 | } | 2334 | } |
| 2336 | /* | 2335 | /* |
