summaryrefslogtreecommitdiffstats
path: root/libssh/dh.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/dh.c')
-rw-r--r--libssh/dh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index c81ed8f..eff74bf 100644
--- a/libssh/dh.c
+++ b/libssh/dh.c
@@ -55,6 +55,7 @@
#include "libssh/session.h"
#include "libssh/keys.h"
#include "libssh/dh.h"
+#include "libssh/threads.h"
/* todo: remove it */
#include "libssh/string.h"
@@ -155,6 +156,7 @@ void ssh_crypto_finalize(void) {
bignum_free(p);
p = NULL;
ssh_crypto_initialized=0;
+ ssh_threads_finalize();
}
}