Don't crash if we fail to find a serializer for the current provider
authorMatt Caswell <matt@openssl.org>
Fri, 6 Mar 2020 18:02:46 +0000 (18:02 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 11 Mar 2020 15:06:50 +0000 (15:06 +0000)
commit55ecb812b1fd71aa829c3f5ac6030f2ed437eb30
tree54073741350a8f661767fbfa3cbfc12061e2dcf8
parent4d6d787c4937706676355ce241c6e538475295d2
Don't crash if we fail to find a serializer for the current provider

The code was assuming that a serializer would always be found - but this
may not be the case.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11271)
crypto/serializer/serializer_pkey.c