Fix pkeyutl -verifyrecover
authorMatt Caswell <matt@openssl.org>
Thu, 29 Aug 2019 16:15:16 +0000 (17:15 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 8 Jan 2020 10:02:20 +0000 (10:02 +0000)
commit0efc1154e552ba736732424f128c1ef04d30731e
tree33e268498be9ea13b733b99c0e410bf12025c91d
parentf245be91a7bb4ccfdff630f92390e7ae72c6ca98
Fix pkeyutl -verifyrecover

When performing a pkeyutl -verifyrecover operation the input file is not
a hash - it is the signature itself. Therefore don't do the check to make
sure it looks like a hash.

Fixes #9658

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9731)

(cherry picked from commit 5ffc33244cd4d66e47dfa66ce89cb38d0f3074cc)
apps/pkeyutl.c