support openbsd // compile with libressl
This commit is contained in:
parent
cb5f7d3cdd
commit
4ac6887deb
1 changed files with 4 additions and 0 deletions
|
|
@ -39,7 +39,11 @@ namespace fc
|
||||||
|
|
||||||
~openssl_scope()
|
~openssl_scope()
|
||||||
{
|
{
|
||||||
|
#if not defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
// No FIPS in LibreSSL.
|
||||||
|
// https://marc.info/?l=openbsd-misc&m=139819485423701&w=2
|
||||||
FIPS_mode_set(0);
|
FIPS_mode_set(0);
|
||||||
|
#endif
|
||||||
CONF_modules_unload(1);
|
CONF_modules_unload(1);
|
||||||
EVP_cleanup();
|
EVP_cleanup();
|
||||||
CRYPTO_cleanup_all_ex_data();
|
CRYPTO_cleanup_all_ex_data();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue