diff options
author | Colin Watson <cjwatson@debian.org> | 2014-02-11 11:27:57 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-02-11 11:28:08 +0000 |
commit | b6e13bfac71554ebb32d1f293765cee5e9eabf63 (patch) | |
tree | 40a73eb469aa98f093d5c2bd0a615694c945de23 /ssh.c | |
parent | 4be35c48f0c60c0c8badc76d3d69b5d1a57de8e1 (diff) | |
parent | c662cd7269217e67b4c47ed4afdbe0ca8d355fd4 (diff) |
Backport upstream patch to unbreak case-sensitive matching of ssh_config (closes: #738619).
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | /* |