mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-24 16:42:29 +02:00
- Improve threadsafety for openssl 0.9.8 ecdsa dnssec signatures.
git-svn-id: file:///svn/unbound/trunk@3766 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -568,6 +568,9 @@ void unit_show_feature(const char* feature)
|
||||
printf("test %s functions\n", feature);
|
||||
}
|
||||
|
||||
#ifdef USE_ECDSA_EVP_WORKAROUND
|
||||
void ecdsa_evp_workaround_init(void);
|
||||
#endif
|
||||
/**
|
||||
* Main unit test program. Setup, teardown and report errors.
|
||||
* @param argc: arg count.
|
||||
@@ -589,6 +592,9 @@ main(int argc, char* argv[])
|
||||
# ifdef USE_GOST
|
||||
(void)sldns_key_EVP_load_gost_id();
|
||||
# endif
|
||||
# ifdef USE_ECDSA_EVP_WORKAROUND
|
||||
ecdsa_evp_workaround_init();
|
||||
# endif
|
||||
#elif defined(HAVE_NSS)
|
||||
if(NSS_NoDB_Init(".") != SECSuccess)
|
||||
fatal_exit("could not init NSS");
|
||||
|
||||
Reference in New Issue
Block a user