2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Remove extra FATAL prefix from FATAL_ERROR call

This commit is contained in:
Ondřej Surý
2018-05-22 12:31:27 +02:00
parent 9bde348ae8
commit c4a38bd127

View File

@@ -166,7 +166,7 @@ isc_random_buf(void *buf, size_t buflen)
/* Use crypto library as fallback when no other CSPRNG is available */
# if defined(OPENSSL)
if (RAND_bytes(buf, buflen) < 1) {
FATAL_ERROR(__FILE__, __LINE__, "FATAL: RAND_bytes(): %s\n", ERR_error_string(ERR_get_error(), NULL));
FATAL_ERROR(__FILE__, __LINE__, "RAND_bytes(): %s", ERR_error_string(ERR_get_error(), NULL));
}
# elif defined(PKCS11CRYPTO)
RUNTIME_CHECK(pk11_rand_bytes(buf, buflen) == ISC_R_SUCCESS);