diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/pem/pvkfmt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/pem/pvkfmt.c b/src/lib/libcrypto/pem/pvkfmt.c index 40c9feefe5..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.28 2024/02/18 15:45:42 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 | */ |
@@ -66,7 +66,6 @@ | |||
66 | #include <openssl/opensslconf.h> | 66 | #include <openssl/opensslconf.h> |
67 | 67 | ||
68 | #include <openssl/bn.h> | 68 | #include <openssl/bn.h> |
69 | #include <openssl/err.h> | ||
70 | #include <openssl/pem.h> | 69 | #include <openssl/pem.h> |
71 | 70 | ||
72 | #if !defined(OPENSSL_NO_RSA) && !defined(OPENSSL_NO_DSA) | 71 | #if !defined(OPENSSL_NO_RSA) && !defined(OPENSSL_NO_DSA) |
@@ -75,6 +74,7 @@ | |||
75 | 74 | ||
76 | #include "bn_local.h" | 75 | #include "bn_local.h" |
77 | #include "dsa_local.h" | 76 | #include "dsa_local.h" |
77 | #include "err_local.h" | ||
78 | #include "evp_local.h" | 78 | #include "evp_local.h" |
79 | #include "rsa_local.h" | 79 | #include "rsa_local.h" |
80 | 80 | ||
@@ -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 | ||