You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removing the panic entirely makes the net/http tests pass.
This conditional also makes the tests pass: if g.tls == cipherGCMTLS12 && len(additionalData) != gcmTlsAddSize { panic(...) }.
I've been trying to find this reason for this panic and haven't spotted anything yet. If there's something similar we need for TLS 1.3, I think knowing the reason for this panic will help.
(I'm not sure if I've checked everything thoroughly--I figured someone else might be better at finding/remembering. 🙂)
I didn't think about running the actual stdlib tests before submitting/merging NewGCMTLS13, #132. This is a followup issue for that PR.
Trying to integrate db597f1 into microsoft/go, I hit this error in the standard library tests:
This is because
additionalData
is[]uint8 len: 5, cap: 128, [23,3,3,0,33]
,gcmTlsAddSize
is13
:openssl/cipher.go
Lines 406 to 410 in db597f1
if g.tls == cipherGCMTLS12 && len(additionalData) != gcmTlsAddSize { panic(...) }
.I've been trying to find this reason for this panic and haven't spotted anything yet. If there's something similar we need for TLS 1.3, I think knowing the reason for this panic will help.
(I'm not sure if I've checked everything thoroughly--I figured someone else might be better at finding/remembering. 🙂)
I didn't think about running the actual stdlib tests before submitting/merging NewGCMTLS13, #132. This is a followup issue for that PR.
/cc @qmuntal @gdams
The text was updated successfully, but these errors were encountered: