diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2014-01-17 09:29:24 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-01-17 09:29:24 +0100 |
commit | 13eef19000a832f03a0bb33278e0f7887019e1fa (patch) | |
tree | c54c4a39eafb4554f1cb87472917d60bf0707ccf /src/pki_gcrypt.c | |
parent | 2fe59071b242c6104d765b87d99f94bbf377545d (diff) | |
download | libssh-13eef19000a832f03a0bb33278e0f7887019e1fa.tar.gz libssh-13eef19000a832f03a0bb33278e0f7887019e1fa.tar.xz libssh-13eef19000a832f03a0bb33278e0f7887019e1fa.zip |
pki: Do not use deprecated string functions.
Diffstat (limited to 'src/pki_gcrypt.c')
-rw-r--r-- | src/pki_gcrypt.c | 2 |
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; |