key-exchange: Add dynamic parser for additional key exchange methods

This commit is contained in:
Tobias Brunner
2024-08-07 16:20:18 +02:00
parent 95275d2fe5
commit e05d86b27a
3 changed files with 86 additions and 4 deletions
+3 -1
View File
@@ -161,6 +161,8 @@ void library_deinit()
/* make sure the cache is clear before unloading plugins */
lib->credmgr->flush_cache(lib->credmgr, CERT_ANY);
key_exchange_deinit();
this->public.streams->destroy(this->public.streams);
this->public.watcher->destroy(this->public.watcher);
this->public.scheduler->destroy(this->public.scheduler);
@@ -436,7 +438,7 @@ bool library_init(char *settings, const char *namespace)
#endif /* INTEGRITY_TEST */
}
diffie_hellman_init();
key_exchange_init();
return !this->init_failed;
}