mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 18:28:10 +09:00
pki: Do not use deprecated string functions.
This commit is contained in:
@@ -1154,7 +1154,7 @@ ssh_string pki_publickey_to_blob(const ssh_key key)
|
|||||||
}
|
}
|
||||||
|
|
||||||
rc = buffer_add_ssh_string(buffer, type_s);
|
rc = buffer_add_ssh_string(buffer, type_s);
|
||||||
string_free(type_s);
|
ssh_string_free(type_s);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
ssh_buffer_free(buffer);
|
ssh_buffer_free(buffer);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user