Repository navigation
Commit dff92f9
internal: skip guessed GEX requests without GEX
With WOLFSSH_NO_DH_GEX_SHA256 a guessed KEXDH_GEX_REQUEST was answered
with UNIMPLEMENTED and left the skip armed, so the server then dropped
the real KEXDH_INIT and stalled. DoPacket() now dispatches the message
in every build, and a stub DoKexDhGexRequest() skips only a guess.
- tests: a guessed GEX request through DoReceive is skipped silently
- tests: the GEX request skip case runs without GEX support1 parent ed2b8a6 commit dff92f9
3 files changed
Lines changed: 66 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9408 | 9408 | | |
9409 | 9409 | | |
9410 | 9410 | | |
| 9411 | + | |
| 9412 | + | |
| 9413 | + | |
| 9414 | + | |
| 9415 | + | |
| 9416 | + | |
| 9417 | + | |
| 9418 | + | |
| 9419 | + | |
| 9420 | + | |
| 9421 | + | |
| 9422 | + | |
| 9423 | + | |
| 9424 | + | |
| 9425 | + | |
| 9426 | + | |
| 9427 | + | |
| 9428 | + | |
| 9429 | + | |
| 9430 | + | |
9411 | 9431 | | |
9412 | 9432 | | |
9413 | 9433 | | |
| |||
14194 | 14214 | | |
14195 | 14215 | | |
14196 | 14216 | | |
14197 | | - | |
14198 | 14217 | | |
14199 | | - | |
14200 | 14218 | | |
14201 | 14219 | | |
14202 | 14220 | | |
| |||
14413 | 14431 | | |
14414 | 14432 | | |
14415 | 14433 | | |
14416 | | - | |
14417 | 14434 | | |
14418 | 14435 | | |
14419 | 14436 | | |
14420 | 14437 | | |
14421 | | - | |
14422 | 14438 | | |
14423 | 14439 | | |
14424 | 14440 | | |
| |||
26517 | 26533 | | |
26518 | 26534 | | |
26519 | 26535 | | |
| 26536 | + | |
| 26537 | + | |
| 26538 | + | |
| 26539 | + | |
| 26540 | + | |
| 26541 | + | |
26520 | 26542 | | |
26521 | 26543 | | |
26522 | 26544 | | |
| |||
26703 | 26725 | | |
26704 | 26726 | | |
26705 | 26727 | | |
26706 | | - | |
26707 | | - | |
26708 | | - | |
26709 | | - | |
26710 | | - | |
26711 | | - | |
26712 | 26728 | | |
26713 | 26729 | | |
26714 | 26730 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17780 | 17780 | | |
17781 | 17781 | | |
17782 | 17782 | | |
| 17783 | + | |
| 17784 | + | |
| 17785 | + | |
| 17786 | + | |
| 17787 | + | |
| 17788 | + | |
| 17789 | + | |
| 17790 | + | |
| 17791 | + | |
| 17792 | + | |
| 17793 | + | |
| 17794 | + | |
| 17795 | + | |
| 17796 | + | |
| 17797 | + | |
| 17798 | + | |
| 17799 | + | |
| 17800 | + | |
| 17801 | + | |
| 17802 | + | |
| 17803 | + | |
| 17804 | + | |
| 17805 | + | |
| 17806 | + | |
| 17807 | + | |
| 17808 | + | |
| 17809 | + | |
| 17810 | + | |
| 17811 | + | |
| 17812 | + | |
| 17813 | + | |
| 17814 | + | |
| 17815 | + | |
| 17816 | + | |
17783 | 17817 | | |
17784 | 17818 | | |
17785 | 17819 | | |
17786 | | - | |
17787 | 17820 | | |
17788 | 17821 | | |
| 17822 | + | |
| 17823 | + | |
| 17824 | + | |
| 17825 | + | |
17789 | 17826 | | |
17790 | 17827 | | |
17791 | 17828 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2159 | 2159 | | |
2160 | 2160 | | |
2161 | 2161 | | |
| 2162 | + | |
| 2163 | + | |
2162 | 2164 | | |
2163 | 2165 | | |
2164 | 2166 | | |
| |||
2212 | 2214 | | |
2213 | 2215 | | |
2214 | 2216 | | |
2215 | | - | |
2216 | | - | |
2217 | 2217 | | |
2218 | 2218 | | |
2219 | 2219 | | |
| |||
0 commit comments