From 49adbe2283b85fce4d428e052e9a92ae2fd07d2a Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Thu, 7 Nov 2024 21:55:53 +0100 Subject: [PATCH] APPS/pkeyutl: remove wrong check for -verifyrecover regarding too long sign/verify input Fixed #25898 --- apps/pkeyutl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/pkeyutl.c b/apps/pkeyutl.c index ca2575bc179cbe..64c5d5871a69d1 100644 --- a/apps/pkeyutl.c +++ b/apps/pkeyutl.c @@ -490,8 +490,7 @@ int pkeyutl_main(int argc, char **argv) /* Sanity check the input if the input is not raw */ if (!rawin - && (pkey_op == EVP_PKEY_OP_SIGN || pkey_op == EVP_PKEY_OP_VERIFY - || pkey_op == EVP_PKEY_OP_VERIFYRECOVER)) { + && (pkey_op == EVP_PKEY_OP_SIGN || pkey_op == EVP_PKEY_OP_VERIFY)) { if (buf_inlen > EVP_MAX_MD_SIZE) { BIO_printf(bio_err, "Error: The non-raw input data length %d is too long - max supported hashed size is %d\n",