Repository navigation
Commit c03a62f
Preserve errno across the SSL_peek in CryptoNative_SslHandshake too
Mirror the errno guard just added to CryptoNative_SslDoHandshake in the buffered
CryptoNative_SslHandshake shim, which is likewise P/Invoked with SetLastError=true
and peeks before SSL_do_handshake. Keeps the two handshake entry points consistent
so a peek can never leave a stale errno that misrepresents the handshake result.
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 89084543-7d70-4562-8776-d4ca1baa3c7c1 parent 9c125e0 commit c03a62f
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
570 | 574 | | |
| 575 | + | |
571 | 576 | | |
572 | 577 | | |
573 | 578 | | |
| |||
0 commit comments