summaryrefslogtreecommitdiffstats
path: root/libssh/keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/keys.c')
-rw-r--r--libssh/keys.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libssh/keys.c b/libssh/keys.c
index 1382b76..626acc9 100644
--- a/libssh/keys.c
+++ b/libssh/keys.c
@@ -542,7 +542,6 @@ static int dsa_public_to_string(DSA *key, ssh_buffer buffer) {
goto error;
}
string_fill(n, (char *) tmp, size);
- gcry_sexp_release(sexp);
#elif defined HAVE_LIBCRYPTO
p = make_bignum_string(key->p);