diff options
| author | tb <> | 2024-06-23 07:50:52 +0000 |
|---|---|---|
| committer | tb <> | 2024-06-23 07:50:52 +0000 |
| commit | 7ec22ad70fa41a417a640db79c436d2fb42fdb20 (patch) | |
| tree | 60c74c3c67402de7a5fadb7ad64fb7208f8725da | |
| parent | 9d029573e8765a9d9fed5e12431b00b36c9c90bd (diff) | |
| download | openbsd-7ec22ad70fa41a417a640db79c436d2fb42fdb20.tar.gz openbsd-7ec22ad70fa41a417a640db79c436d2fb42fdb20.tar.bz2 openbsd-7ec22ad70fa41a417a640db79c436d2fb42fdb20.zip | |
openssl ca: avoid double free for spkac files without default section
ok jsing
| -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 | /* |
