=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh.c,v retrieving revision 1.398 retrieving revision 1.399 diff -u -r1.398 -r1.399 --- src/usr.bin/ssh/ssh.c 2014/01/31 16:39:19 1.398 +++ src/usr.bin/ssh/ssh.c 2014/02/04 00:24:29 1.399 @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.c,v 1.398 2014/01/31 16:39:19 tedu Exp $ */ +/* $OpenBSD: ssh.c,v 1.399 2014/02/04 00:24:29 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -752,7 +752,6 @@ if (!host) usage(); - lowercase(host); host_arg = xstrdup(host); OpenSSL_add_all_algorithms(); @@ -882,6 +881,7 @@ } /* If canonicalization requested then try to apply it */ + lowercase(host); if (options.canonicalize_hostname != SSH_CANONICALISE_NO) addrs = resolve_canonicalize(&host, options.port); /*