summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. David von Oheimb <dev@ddvo.net>2024-11-07 21:55:53 +0100
committerDr. David von Oheimb <dev@ddvo.net>2024-11-09 11:43:59 +0100
commitfe07cbf9c324a63f8141cfa6ef7f14a42bce4ef4 (patch)
tree4c4ce3ed6e800eb36311d1471dc20351cfe65673 /apps
parentAdd a test for setting TLSv1.2 ciphersuites on a QUIC object (diff)
downloadopenssl-fe07cbf9c324a63f8141cfa6ef7f14a42bce4ef4.tar.xz
openssl-fe07cbf9c324a63f8141cfa6ef7f14a42bce4ef4.zip
APPS/pkeyutl: remove wrong check for -verifyrecover regarding too long sign/verify input
Fixed #25898 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/25903)
Diffstat (limited to 'apps')
-rw-r--r--apps/pkeyutl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/pkeyutl.c b/apps/pkeyutl.c
index ca2575bc17..64c5d5871a 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",