aboutsummaryrefslogtreecommitdiff
path: root/libssh/dh.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-08-13 23:26:17 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-08-13 23:26:17 +0200
commit380a70d650df617ff38841b0bba3b640c92f0d04 (patch)
treee28c2a4f52730e3a17a8b9e26748c436c995d049 /libssh/dh.c
parent2dc3b5c67527b9403befb2d54c43a3fab23be4e2 (diff)
downloadlibssh-380a70d650df617ff38841b0bba3b640c92f0d04.tar.gz
libssh-380a70d650df617ff38841b0bba3b640c92f0d04.tar.xz
libssh-380a70d650df617ff38841b0bba3b640c92f0d04.zip
fix ssh_finalize which didn't clear the flag
Diffstat (limited to 'libssh/dh.c')
-rw-r--r--libssh/dh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index 4ab28cb..d07ca97 100644
--- a/libssh/dh.c
+++ b/libssh/dh.c
@@ -149,6 +149,7 @@ void ssh_crypto_finalize(void) {
g = NULL;
bignum_free(p);
p = NULL;
+ ssh_crypto_initialized=0;
}
}