Commit 94e5f63
tls: add unsupported renegotiation error
Map BoringSSL's native renegotiation failure to
ERR_TLS_RENEGOTIATION_UNSUPPORTED when TLSSocket#renegotiate() is
called. This avoids exposing an implementation-specific OpenSSL error
when the TLS backend does not support caller-initiated renegotiation.
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: #63161
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>1 parent aaef29e commit 94e5f63Copy full SHA for 94e5f63
4 files changed
+32-9Lines changed: 32 additions & 9 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- doc/api
- lib/internal
- tls
- test/parallel
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+7Lines changed: 7 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3084 | 3084 | |
3085 | 3085 | |
3086 | 3086 | |
| 3087 | + |
| 3088 | + |
| 3089 | + |
| 3090 | + |
| 3091 | + |
| 3092 | + |
| 3093 | + |
3087 | 3094 | |
3088 | 3095 | |
3089 | 3096 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1827 | 1827 | |
1828 | 1828 | |
1829 | 1829 | |
| 1830 | + |
| 1831 | + |
1830 | 1832 | |
1831 | 1833 | |
1832 | 1834 | |
|
Collapse file
+7-1Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
72 | 72 | |
73 | 73 | |
74 | 74 | |
| 75 | + |
75 | 76 | |
76 | 77 | |
77 | 78 | |
| ||
1092 | 1093 | |
1093 | 1094 | |
1094 | 1095 | |
| 1096 | + |
| 1097 | + |
| 1098 | + |
| 1099 | + |
| 1100 | + |
1095 | 1101 | |
1096 | | - |
| 1102 | + |
1097 | 1103 | |
1098 | 1104 | |
1099 | 1105 | |
|
Collapse file
test/parallel/test-tls-client-renegotiation-13.js
Copy file name to clipboardExpand all lines: test/parallel/test-tls-client-renegotiation-13.js+16-8Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
43 | 51 | |
44 | 52 | |
45 | 53 | |
|
0 commit comments