diff options
author | Damien Miller <djm@mindrot.org> | 2013-10-17 11:48:31 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2013-10-17 11:48:31 +1100 |
commit | 51682faa599550a69d8120e5e2bdbdc0625ef4be (patch) | |
tree | 30f00f22820ffb451e8678fff211d6966075d932 | |
parent | 3850559be93f1a442ae9ed370e8c389889dd5f72 (diff) |
- djm@cvs.openbsd.org 2013/10/16 22:58:01
[ssh.c ssh_config.5]
one I missed in previous: s/isation/ization/
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ssh.c | 12 | ||||
-rw-r--r-- | ssh_config.5 | 14 |
3 files changed, 16 insertions, 13 deletions
@@ -20,6 +20,9 @@ | |||
20 | [readconf.c readconf.h ssh.1 ssh.c ssh_config.5] | 20 | [readconf.c readconf.h ssh.1 ssh.c ssh_config.5] |
21 | s/canonicalise/canonicalize/ for consistency with existing spelling, | 21 | s/canonicalise/canonicalize/ for consistency with existing spelling, |
22 | e.g. authorized_keys; pointed out by naddy@ | 22 | e.g. authorized_keys; pointed out by naddy@ |
23 | - djm@cvs.openbsd.org 2013/10/16 22:58:01 | ||
24 | [ssh.c ssh_config.5] | ||
25 | one I missed in previous: s/isation/ization/ | ||
23 | 26 | ||
24 | 20131015 | 27 | 20131015 |
25 | - (djm) OpenBSD CVS Sync | 28 | - (djm) OpenBSD CVS Sync |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.386 2013/10/16 22:49:39 djm Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.387 2013/10/16 22:58:01 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -303,8 +303,8 @@ check_follow_cname(char **namep, const char *cname) | |||
303 | 303 | ||
304 | /* | 304 | /* |
305 | * Attempt to resolve the supplied hostname after applying the user's | 305 | * Attempt to resolve the supplied hostname after applying the user's |
306 | * canonicalisation rules. Returns the address list for the host or NULL | 306 | * canonicalization rules. Returns the address list for the host or NULL |
307 | * if no name was found after canonicalisation. | 307 | * if no name was found after canonicalization. |
308 | */ | 308 | */ |
309 | static struct addrinfo * | 309 | static struct addrinfo * |
310 | resolve_canonicalize(char **hostp, u_int port) | 310 | resolve_canonicalize(char **hostp, u_int port) |
@@ -322,7 +322,7 @@ resolve_canonicalize(char **hostp, u_int port) | |||
322 | if (options.proxy_command != NULL && | 322 | if (options.proxy_command != NULL && |
323 | options.canonicalize_hostname != SSH_CANONICALISE_ALWAYS) | 323 | options.canonicalize_hostname != SSH_CANONICALISE_ALWAYS) |
324 | return NULL; | 324 | return NULL; |
325 | /* Don't apply canonicalisation to sufficiently-qualified hostnames */ | 325 | /* Don't apply canonicalization to sufficiently-qualified hostnames */ |
326 | ndots = 0; | 326 | ndots = 0; |
327 | for (cp = *hostp; *cp != '\0'; cp++) { | 327 | for (cp = *hostp; *cp != '\0'; cp++) { |
328 | if (*cp == '.') | 328 | if (*cp == '.') |
@@ -906,11 +906,11 @@ main(int ac, char **av) | |||
906 | host = cp; | 906 | host = cp; |
907 | } | 907 | } |
908 | 908 | ||
909 | /* If canonicalisation requested then try to apply it */ | 909 | /* If canonicalization requested then try to apply it */ |
910 | if (options.canonicalize_hostname != SSH_CANONICALISE_NO) | 910 | if (options.canonicalize_hostname != SSH_CANONICALISE_NO) |
911 | addrs = resolve_canonicalize(&host, options.port); | 911 | addrs = resolve_canonicalize(&host, options.port); |
912 | /* | 912 | /* |
913 | * If canonicalisation not requested, or if it failed then try to | 913 | * If canonicalization not requested, or if it failed then try to |
914 | * resolve the bare hostname name using the system resolver's usual | 914 | * resolve the bare hostname name using the system resolver's usual |
915 | * search rules. | 915 | * search rules. |
916 | */ | 916 | */ |
diff --git a/ssh_config.5 b/ssh_config.5 index 586db6b9f..c99678f6f 100644 --- a/ssh_config.5 +++ b/ssh_config.5 | |||
@@ -33,7 +33,7 @@ | |||
33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" $OpenBSD: ssh_config.5,v 1.173 2013/10/16 22:49:39 djm Exp $ | 36 | .\" $OpenBSD: ssh_config.5,v 1.174 2013/10/16 22:58:01 djm Exp $ |
37 | .Dd $Mdocdate: October 16 2013 $ | 37 | .Dd $Mdocdate: October 16 2013 $ |
38 | .Dt SSH_CONFIG 5 | 38 | .Dt SSH_CONFIG 5 |
39 | .Os | 39 | .Os |
@@ -206,7 +206,7 @@ When | |||
206 | is enabled, this option specifies the list of domain suffixes in which to | 206 | is enabled, this option specifies the list of domain suffixes in which to |
207 | search for the specified destination host. | 207 | search for the specified destination host. |
208 | .It Cm CanonicalizeFallbackLocal | 208 | .It Cm CanonicalizeFallbackLocal |
209 | Specifies whether to fail with an error when hostname canonicalisation fails. | 209 | Specifies whether to fail with an error when hostname canonicalization fails. |
210 | The default, | 210 | The default, |
211 | .Dq no , | 211 | .Dq no , |
212 | will attempt to look up the unqualified hostname using the system resolver's | 212 | will attempt to look up the unqualified hostname using the system resolver's |
@@ -221,7 +221,7 @@ is enabled and the target hostname cannot be found in any of the domains | |||
221 | specified by | 221 | specified by |
222 | .Cm CanonicalDomains . | 222 | .Cm CanonicalDomains . |
223 | .It Cm CanonicalizeHostname | 223 | .It Cm CanonicalizeHostname |
224 | Controls whether explicit hostname canonicalisation is performed. | 224 | Controls whether explicit hostname canonicalization is performed. |
225 | The default, | 225 | The default, |
226 | .Dq no , | 226 | .Dq no , |
227 | is not to perform any name rewriting and let the system resolver handle all | 227 | is not to perform any name rewriting and let the system resolver handle all |
@@ -241,10 +241,10 @@ If | |||
241 | .Cm CanonicalizeHostname | 241 | .Cm CanonicalizeHostname |
242 | is set to | 242 | is set to |
243 | .Dq always , | 243 | .Dq always , |
244 | then canonicalisation is applied to proxied connections too. | 244 | then canonicalization is applied to proxied connections too. |
245 | .It Cm CanonicalizeMaxDots | 245 | .It Cm CanonicalizeMaxDots |
246 | Specifies the maximum number of dot characters in a hostname before | 246 | Specifies the maximum number of dot characters in a hostname before |
247 | canonicalisation is disabled. | 247 | canonicalization is disabled. |
248 | The default, | 248 | The default, |
249 | .Dq 1 , | 249 | .Dq 1 , |
250 | allows a single dot (i.e. hostname.subdomain). | 250 | allows a single dot (i.e. hostname.subdomain). |
@@ -255,7 +255,7 @@ The rules consist of one or more arguments of | |||
255 | .Ar source_domain_list : Ns Ar target_domain_list , | 255 | .Ar source_domain_list : Ns Ar target_domain_list , |
256 | where | 256 | where |
257 | .Ar source_domain_list | 257 | .Ar source_domain_list |
258 | is a pattern-list of domains that may follow CNAMEs in canonicalisation, | 258 | is a pattern-list of domains that may follow CNAMEs in canonicalization, |
259 | and | 259 | and |
260 | .Ar target_domain_list | 260 | .Ar target_domain_list |
261 | is a pattern-list of domains that they may resolve to. | 261 | is a pattern-list of domains that they may resolve to. |
@@ -1423,7 +1423,7 @@ Patterns within pattern-lists may be negated | |||
1423 | by preceding them with an exclamation mark | 1423 | by preceding them with an exclamation mark |
1424 | .Pq Sq !\& . | 1424 | .Pq Sq !\& . |
1425 | For example, | 1425 | For example, |
1426 | to allow a key to be used from anywhere within an organisation | 1426 | to allow a key to be used from anywhere within an organization |
1427 | except from the | 1427 | except from the |
1428 | .Dq dialup | 1428 | .Dq dialup |
1429 | pool, | 1429 | pool, |