@@ -545,7 +545,7 @@ called: |
545 | 545 | added: v0.5.3 |
546 | 546 | --> |
547 | 547 |
|
548 | | -* `hostname` {string} A SNI hostname or wildcard (e.g. `'*'`) |
| 548 | +* `hostname` {string} A SNI host name or wildcard (e.g. `'*'`) |
549 | 549 | * `context` {Object} An object containing any of the possible properties |
550 | 550 | from the [`tls.createSecureContext()`][] `options` arguments (e.g. `key`, |
551 | 551 | `cert`, `ca`, etc). |
@@ -1308,7 +1308,7 @@ changes: |
1308 | 1308 | with optional identity `hint` provided by the server or `null` |
1309 | 1309 | in case of TLS 1.3 where `hint` was removed. |
1310 | 1310 | It will be necessary to provide a custom `tls.checkServerIdentity()` |
1311 | | - for the connection as the default one will try to check hostname/IP |
| 1311 | + for the connection as the default one will try to check host name/IP |
1312 | 1312 | of the server against the certificate but that's not applicable for PSK |
1313 | 1313 | because there won't be a certificate present. |
1314 | 1314 | More information can be found in the [RFC 4279][]. |
@@ -1328,7 +1328,7 @@ changes: |
1328 | 1328 | `SNICallback` option to [`tls.createServer()`][]. |
1329 | 1329 | * `checkServerIdentity(servername, cert)` {Function} A callback function |
1330 | 1330 | to be used (instead of the builtin `tls.checkServerIdentity()` function) |
1331 | | - when checking the server's hostname (or the provided `servername` when |
| 1331 | + when checking the server's host name (or the provided `servername` when |
1332 | 1332 | explicitly set) against the certificate. This should return an {Error} if |
1333 | 1333 | verification fails. The method should return `undefined` if the `servername` |
1334 | 1334 | and `cert` are verified. |
|