Some cleanup for publickey_to_string().

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@543 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
Andreas Schneider
2009-04-18 10:59:53 +00:00
parent d20ae18b00
commit 263b8d4f9c

View File

@@ -671,7 +671,7 @@ STRING *publickey_to_string(PUBLIC_KEY *key) {
return NULL;
}
type = string_from_char(ssh_type_to_char(key->type));
type = string_from_char(key->type_c);
if (type == NULL) {
goto error;
}