If the first serializer we find is the desired one that's ok
authorMatt Caswell <matt@openssl.org>
Fri, 6 Mar 2020 18:05:37 +0000 (18:05 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 11 Mar 2020 15:07:00 +0000 (15:07 +0000)
commit0e6f62e3e1c4cdaa8e3bda7d459f978541dfb1fe
treed2145057aec365cd487cf5a02578d417e9f9d835
parent55ecb812b1fd71aa829c3f5ac6030f2ed437eb30
If the first serializer we find is the desired one that's ok

Stop looking for a desired serializer if the first one is desired.

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