summaryrefslogtreecommitdiffstats
path: root/libssh/dh.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/dh.c')
-rw-r--r--libssh/dh.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index 4f05251..9088bb9 100644
--- a/libssh/dh.c
+++ b/libssh/dh.c
@@ -1000,12 +1000,6 @@ int signature_verify(ssh_session session, ssh_string signature) {
enter_function();
- if (session->options->dont_verify_hostkey) {
- ssh_log(session, SSH_LOG_FUNCTIONS, "Host key wasn't verified");
- leave_function();
- return 0;
- }
-
pubkey = publickey_from_string(session,session->next_crypto->server_pubkey);
if(pubkey == NULL) {
leave_function();