aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-02-04 22:07:03 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-02-04 22:07:03 +0100
commite93f17cad8a73cfbe3a42735289c17a7fa227799 (patch)
tree9d47dad3f25115ee1b4e5fcca7ba282192d5d3f4
parent47226d9d448966d9d9bd8d1786d4b4427a787be9 (diff)
downloadlibssh-e93f17cad8a73cfbe3a42735289c17a7fa227799.tar.gz
libssh-e93f17cad8a73cfbe3a42735289c17a7fa227799.tar.xz
libssh-e93f17cad8a73cfbe3a42735289c17a7fa227799.zip
pki: Don't free a const key!
-rw-r--r--src/pki.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pki.c b/src/pki.c
index 1bf185d..c69340a 100644
--- a/src/pki.c
+++ b/src/pki.c
@@ -1197,7 +1197,6 @@ int ssh_pki_signature_verify_blob(ssh_session session,
rc = ssh_pki_import_signature_blob(sig_blob, key, &sig);
if (rc < 0) {
- ssh_key_free(key);
return SSH_ERROR;
}