]> git.ipfire.org Git - thirdparty/openssl.git/commit
fips: set the library context and handle later
authorPauli <pauli@openssl.org>
Fri, 28 May 2021 00:25:55 +0000 (10:25 +1000)
committerPauli <pauli@openssl.org>
Sat, 29 May 2021 10:46:11 +0000 (20:46 +1000)
commit43dbe3b72de0ba4ebd20e9e6a2c526ef747326ab
tree030ef45c04b5018a65a339859473d243d7b8648f
parentf839361e3e45b5becce7c3267fa8e2f72654e75f
fips: set the library context and handle later

They need to be set once the provider will definitely be loading.  If they
are set earlier, a double free results on a failure.

Fixes #15452

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15492)
providers/fips/fipsprov.c