From 71f6988c171daaad1fd0c2ac6babe17a64a3d8bd Mon Sep 17 00:00:00 2001 From: Packit Service Date: Jan 27 2021 00:17:01 +0000 Subject: Apply patch bind-9.11-rh1668682.patch patch_name: bind-9.11-rh1668682.patch present_in_specfile: true --- diff --git a/lib/dns/openssl_link.c b/lib/dns/openssl_link.c index cfdc757..c7ac214 100644 --- a/lib/dns/openssl_link.c +++ b/lib/dns/openssl_link.c @@ -291,6 +291,7 @@ dst__openssl_init(const char *engine) { #endif #endif /* !defined(OPENSSL_NO_ENGINE) */ +#ifdef ISC_PLATFORM_USETHREADS /* Protect ourselves against unseeded PRNG */ if (RAND_status() != 1) { FATAL_ERROR(__FILE__, __LINE__, @@ -298,6 +299,7 @@ dst__openssl_init(const char *engine) { "cannot be initialized (see the `PRNG not " "seeded' message in the OpenSSL FAQ)"); } +#endif /* ISC_PLATFORM_USETHREADS */ return (ISC_R_SUCCESS);