Commit 2285d4d
Assert empty payload before discarding it on CertValidationNeeded
VerifyRemoteCertificateAndGenerateNextToken released the incoming token's
payload unconditionally. SecureTransport pauses the handshake at the peer-
auth-completed break before producing the next flight, so the pending-
writes buffer drained into the token is expected to be empty. Add a debug
assert so any future regression that produced bytes at this point is
surfaced loudly instead of silently dropping handshake bytes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 5b44015 commit 2285d4d
1 file changed
Lines changed: 5 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
944 | 944 | | |
945 | 945 | | |
946 | 946 | | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
947 | 952 | | |
948 | 953 | | |
949 | 954 | | |
| |||
0 commit comments