mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
bind: Fix build.
This commit is contained in:
@@ -209,7 +209,8 @@ int ssh_bind_listen(ssh_bind sshbind) {
|
|||||||
|
|
||||||
if (ssh_key_type(sshbind->dsa) != SSH_KEYTYPE_DSS) {
|
if (ssh_key_type(sshbind->dsa) != SSH_KEYTYPE_DSS) {
|
||||||
ssh_set_error(sshbind, SSH_FATAL,
|
ssh_set_error(sshbind, SSH_FATAL,
|
||||||
"The DSA host key has the wrong type: %d");
|
"The DSA host key has the wrong type: %d",
|
||||||
|
ssh_key_type(sshbind->dsa));
|
||||||
ssh_key_free(sshbind->dsa);
|
ssh_key_free(sshbind->dsa);
|
||||||
return SSH_ERROR;
|
return SSH_ERROR;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user