DESERIALIZER: Adjust to allow the use several deserializers with same name
authorRichard Levitte <levitte@openssl.org>
Mon, 3 Aug 2020 19:04:05 +0000 (21:04 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 7 Aug 2020 02:13:28 +0000 (04:13 +0200)
commitfb89000897cddee45abb2949c0697a3f8ec090b2
tree2295b8caf30a73a52033e94d265e45e213d9213b
parent413835f5d158acb14147e9f1c4f85b9c518b1fa6
DESERIALIZER: Adjust to allow the use several deserializers with same name

A key type may be deserialized from one of several sources, which
means that more than one deserializer with the same name should be
possible to add to the stack of deserializers to try, in the
OSSL_DESERIALIZER_CTX collection.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12574)
crypto/serializer/deserializer_pkey.c