summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-01-17 09:29:24 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-01-17 09:29:24 +0100
commit13eef19000a832f03a0bb33278e0f7887019e1fa (patch)
treec54c4a39eafb4554f1cb87472917d60bf0707ccf /src
parent2fe59071b242c6104d765b87d99f94bbf377545d (diff)
downloadlibssh-13eef19000a832f03a0bb33278e0f7887019e1fa.tar.gz
libssh-13eef19000a832f03a0bb33278e0f7887019e1fa.tar.xz
libssh-13eef19000a832f03a0bb33278e0f7887019e1fa.zip
pki: Do not use deprecated string functions.
Diffstat (limited to 'src')
-rw-r--r--src/pki_gcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pki_gcrypt.c b/src/pki_gcrypt.c
index e696e422..fbfcf76c 100644
--- a/src/pki_gcrypt.c
+++ b/src/pki_gcrypt.c
@@ -1154,7 +1154,7 @@ ssh_string pki_publickey_to_blob(const ssh_key key)
}
rc = buffer_add_ssh_string(buffer, type_s);
- string_free(type_s);
+ ssh_string_free(type_s);
if (rc < 0) {
ssh_buffer_free(buffer);
return NULL;