Move the dst__openssl_toresult to isc_tls unit
Since the enable_fips_mode() now resides inside the isc_tls unit, BIND 9 would fail to compile when FIPS mode was enabled as the DST subsystem logging functions were missing. Move the crypto library logging functions from the openssl_link unit to isc_tls unit and enhance it, so it can now be used from both places keeping the old dst__openssl_toresult* macros alive.
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
#define UNIT_TESTING
|
||||
|
||||
#include <cmocka.h>
|
||||
#include <openssl_shim.h>
|
||||
|
||||
#include <openssl/err.h>
|
||||
|
||||
@@ -37,6 +36,10 @@
|
||||
|
||||
#include <dns/rdata.h>
|
||||
|
||||
#include "../isc/openssl_shim.c"
|
||||
#include "../isc/openssl_shim.h"
|
||||
#include "openssl_shim.h"
|
||||
|
||||
#include <tests/dns.h>
|
||||
|
||||
static bool debug = false;
|
||||
|
||||
Reference in New Issue
Block a user