Ensure we initialized the locale before evp_pkey_name2type
authorDmitry Belyavskiy <beldmit@gmail.com>
Fri, 22 Apr 2022 16:16:56 +0000 (18:16 +0200)
committerDmitry Belyavskiy <beldmit@gmail.com>
Fri, 29 Apr 2022 12:13:02 +0000 (14:13 +0200)
commite560655f72dc27bcea973c6abfe99af75d313ad7
treecbf8d08bac8c0651efbf8e60b278234b0d8967dc
parent49d874e0b7514cb270e817103ff0e13d4689e1f0
Ensure we initialized the locale before evp_pkey_name2type

Fixes #18158

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18199)
crypto/evp/pmeth_lib.c