| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fd8c762 commit f666a1b
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2803,9 +2803,9 @@ event is emitted before continuing. | |||
| 2803 | 2803 | Attempting to set a TLS protocol `minVersion` or `maxVersion` conflicts with an | |
| 2804 | 2804 | attempt to set the `secureProtocol` explicitly. Use one mechanism or the other. | |
| 2805 | 2805 | ||
| 2806 | - <a id="ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED"></a> | ||
| 2806 | + <a id="ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED"></a> | ||
| 2807 | 2807 | ||
| 2808 | - ### `ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED` | ||
| 2808 | + ### `ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED` | ||
| 2809 | 2809 | ||
| 2810 | 2810 | Failed to set PSK identity hint. Hint may be too long. | |
| 2811 | 2811 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2210,7 +2210,7 @@ changes: | |||
| 2210 | 2210 | * `pskIdentityHint` {string} optional hint to send to a client to help | |
| 2211 | 2211 | with selecting the identity during TLS-PSK negotiation. Will be ignored | |
| 2212 | 2212 | in TLS 1.3. Upon failing to set pskIdentityHint `'tlsClientError'` will be | |
| 2213 | - emitted with `'ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED'` code. | ||
| 2213 | + emitted with `'ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED'` code. | ||
| 2214 | 2214 | * ...: Any [`tls.createSecureContext()`][] option can be provided. For | |
| 2215 | 2215 | servers, the identity options (`pfx`, `key`/`cert`, or `pskCallback`) | |
| 2216 | 2216 | are usually required. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1413,7 +1413,7 @@ void TLSWrap::SetPskIdentityHint(const FunctionCallbackInfo<Value>& args) { | |||
| 1413 | 1413 | Utf8Value hint(isolate, args[0].As<String>()); | |
| 1414 | 1414 | ||
| 1415 | 1415 | if (!SSL_use_psk_identity_hint(p->ssl_.get(), *hint)) { | |
| 1416 | - Local<Value> err = node::ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED(isolate); | ||
| 1416 | + Local<Value> err = node::ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED(isolate); | ||
| 1417 | 1417 | p->MakeCallback(env->onerror_string(), 1, &err); | |
| 1418 | 1418 | } | |
| 1419 | 1419 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -104,7 +104,7 @@ void OOMErrorHandler(const char* location, const v8::OOMDetails& details); | |||
| 104 | 104 | V(ERR_SCRIPT_EXECUTION_TIMEOUT, Error) \ | |
| 105 | 105 | V(ERR_STRING_TOO_LONG, Error) \ | |
| 106 | 106 | V(ERR_TLS_INVALID_PROTOCOL_METHOD, TypeError) \ | |
| 107 | - V(ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED, Error) \ | ||
| 107 | + V(ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED, Error) \ | ||
| 108 | 108 | V(ERR_VM_MODULE_CACHED_DATA_REJECTED, Error) \ | |
| 109 | 109 | V(ERR_VM_MODULE_LINK_FAILURE, Error) \ | |
| 110 | 110 | V(ERR_WASI_NOT_STARTED, Error) \ | |
@@ -202,7 +202,7 @@ ERRORS_WITH_CODE(V) | |||
| 202 | 202 | "--experimental-print-required-tla.") \ | |
| 203 | 203 | V(ERR_SCRIPT_EXECUTION_INTERRUPTED, \ | |
| 204 | 204 | "Script execution was interrupted by `SIGINT`") \ | |
| 205 | - V(ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED, "Failed to set PSK identity hint") \ | ||
| 205 | + V(ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED, "Failed to set PSK identity hint") \ | ||
| 206 | 206 | V(ERR_WASI_NOT_STARTED, "wasi.start() has not been called") \ | |
| 207 | 207 | V(ERR_WORKER_INIT_FAILED, "Worker initialization failure") \ | |
| 208 | 208 | V(ERR_PROTO_ACCESS, \ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,7 @@ const tls = require('tls'); | |||
| 17 | 17 | }); | |
| 18 | 18 | server.on('tlsClientError', (err) => { | |
| 19 | 19 | assert.ok(err instanceof Error); | |
| 20 | - assert.strictEqual(err.code, 'ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED'); | ||
| 20 | + assert.strictEqual(err.code, 'ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED'); | ||
| 21 | 21 | server.close(); | |
| 22 | 22 | }); | |
| 23 | 23 | server.listen(0, () => { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments