serialization: break the provider locating code to avoid deadlock.
authorPauli <paul.dale@oracle.com>
Wed, 17 Jun 2020 02:16:10 +0000 (12:16 +1000)
committerPauli <paul.dale@oracle.com>
Tue, 23 Jun 2020 09:46:57 +0000 (19:46 +1000)
commit90cf3099df43a5419d59e6a66e75970cbb50a28a
treeb26177d2943a605ad90c8299ce4491273665ddc8
parent22063850586945fd98ad3656df21c16adfef89ae
serialization: break the provider locating code to avoid deadlock.

Find all the suitable implementation names and later decide which is best.
This avoids a lock order inversion.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12173)
crypto/err/openssl.txt
crypto/serializer/serializer_err.c
crypto/serializer/serializer_pkey.c
include/openssl/serializererr.h