aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-08-13 23:26:17 +0200
committerAndreas Schneider <mail@cynapses.org>2009-08-13 23:30:02 +0200
commit10920fc67816f8184499d83ca5786885730fa4b8 (patch)
treeff518bcf209130485bc849decd15b9f470646ad0
parentc87b247e013e37c82e4b394c6f9a6e522f695aca (diff)
downloadlibssh-10920fc67816f8184499d83ca5786885730fa4b8.tar.gz
libssh-10920fc67816f8184499d83ca5786885730fa4b8.tar.xz
libssh-10920fc67816f8184499d83ca5786885730fa4b8.zip
fix ssh_finalize which didn't clear the flag
-rw-r--r--libssh/dh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index 84cc2149..21ee90bf 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;
}
}