From 13eef19000a832f03a0bb33278e0f7887019e1fa Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 17 Jan 2014 09:29:24 +0100 Subject: [PATCH] pki: Do not use deprecated string functions. --- src/pki_gcrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;