summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh.c b/ssh.c
index 0cea713ec..5d5d4de4d 100644
--- a/ssh.c
+++ b/ssh.c
@@ -780,7 +780,6 @@ main(int ac, char **av)
780 if (!host) 780 if (!host)
781 usage(); 781 usage();
782 782
783 lowercase(host);
784 host_arg = xstrdup(host); 783 host_arg = xstrdup(host);
785 784
786 OpenSSL_add_all_algorithms(); 785 OpenSSL_add_all_algorithms();
@@ -914,6 +913,7 @@ main(int ac, char **av)
914 } 913 }
915 914
916 /* If canonicalization requested then try to apply it */ 915 /* If canonicalization requested then try to apply it */
916 lowercase(host);
917 if (options.canonicalize_hostname != SSH_CANONICALISE_NO) 917 if (options.canonicalize_hostname != SSH_CANONICALISE_NO)
918 addrs = resolve_canonicalize(&host, options.port); 918 addrs = resolve_canonicalize(&host, options.port);
919 /* 919 /*