]> git.ipfire.org Git - thirdparty/openssl.git/commit
Correctly detect decode errors when checking if a key is supported
authorMatt Caswell <matt@openssl.org>
Mon, 7 Jun 2021 13:54:24 +0000 (14:54 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 8 Jun 2021 17:53:39 +0000 (18:53 +0100)
commit4bf696c1d05d19ad495995309981f91f265cdaf2
tree284ca9a876ea6b48a80f3e10f45969c7e1c86002
parent1df8322ce0b54d171dea1a364a3c78a8a4980f65
Correctly detect decode errors when checking if a key is supported

If we have an unsupported key type we may get a decode error and
therefore we should detect that.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15504)
test/evp_test.c