mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-12 15:23:41 -05:00
Even neater openssl callback removal code from Robert Fleischman.
git-svn-id: file:///svn/unbound/trunk@2801 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
1c3c7294e6
commit
b56365792e
1 changed files with 2 additions and 0 deletions
|
|
@ -772,6 +772,8 @@ void ub_openssl_lock_delete(void)
|
|||
int i;
|
||||
if(!ub_openssl_locks)
|
||||
return;
|
||||
CRYPTO_set_id_callback(NULL);
|
||||
CRYPTO_set_locking_callback(NULL);
|
||||
for(i=0; i<CRYPTO_num_locks(); i++) {
|
||||
lock_basic_destroy(&ub_openssl_locks[i]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue