summaryrefslogtreecommitdiffstats
path: root/libssh/dh.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-09-01 14:07:45 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-09-01 14:07:45 +0200
commit8c55294ea9134c32f80d1a399a6a49ecdc9264b2 (patch)
treea21f32ae1501abf56c21f49f588503580a2c12ba /libssh/dh.c
parent50d8d75d890e16e8d4d3f4dd51de05812c0c3a1f (diff)
downloadlibssh-8c55294ea9134c32f80d1a399a6a49ecdc9264b2.tar.gz
libssh-8c55294ea9134c32f80d1a399a6a49ecdc9264b2.tar.xz
libssh-8c55294ea9134c32f80d1a399a6a49ecdc9264b2.zip
Openssl implementation of threading + default imp
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 c81ed8fc..eff74bf9 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();
}
}