diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/pem/pvkfmt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/pem/pvkfmt.c b/src/lib/libcrypto/pem/pvkfmt.c index 6967d65eee..395fd9df83 100644 --- a/src/lib/libcrypto/pem/pvkfmt.c +++ b/src/lib/libcrypto/pem/pvkfmt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pvkfmt.c,v 1.29 2025/05/10 05:54:38 tb Exp $ */ | 1 | /* $OpenBSD: pvkfmt.c,v 1.30 2025/06/07 09:32:35 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 2005. | 3 | * project 2005. |
4 | */ | 4 | */ |
@@ -803,8 +803,8 @@ do_PVK_body(const unsigned char **in, unsigned int saltlen, | |||
803 | 803 | ||
804 | err: | 804 | err: |
805 | EVP_CIPHER_CTX_free(cctx); | 805 | EVP_CIPHER_CTX_free(cctx); |
806 | if (enctmp && saltlen) | 806 | free(enctmp); |
807 | free(enctmp); | 807 | |
808 | return ret; | 808 | return ret; |
809 | } | 809 | } |
810 | 810 | ||