1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

pki: Add the type as a char pointer.

This commit is contained in:
Andreas Schneider
2013-10-18 22:46:44 +02:00
parent 15e31eb464
commit ac4c5699b1
3 changed files with 6 additions and 2 deletions

View File

@@ -1118,7 +1118,7 @@ int ssh_pki_export_signature_blob(const ssh_signature sig,
return SSH_ERROR;
}
str = ssh_string_from_char(ssh_key_type_to_char(sig->type));
str = ssh_string_from_char(sig->type_c);
if (str == NULL) {
ssh_buffer_free(buf);
return SSH_ERROR;