From 2c5d494b646f68f90cf9c0dc02ce137f240e848c Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Wed, 30 Oct 2024 09:57:20 +0100 Subject: [PATCH] fixup! fixup! APPS/pkeyutl: improve -rawin usability (implied by Ed25519 and Ed448) and doc --- apps/pkeyutl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/pkeyutl.c b/apps/pkeyutl.c index 5a27bf00ecaa00..f57eaa3bad0686 100644 --- a/apps/pkeyutl.c +++ b/apps/pkeyutl.c @@ -662,6 +662,7 @@ static EVP_PKEY_CTX *init_ctx(const char *kdfalg, int *pkeysize, else ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); EVP_PKEY_free(pkey); + pkey = NULL; } if (ctx == NULL)