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
In v2/spiffetls/tlsconfig/config.go getTLSCertificate function, the return nil, err is put inside the if trace.GotCertificate != nil block. So, it sounds like a bug when trace.GotCertificate is not configured, where the error would not be returned and the following code would cause panic when dereferencing svid s.
In v2/spiffetls/tlsconfig/config.go
getTLSCertificate
function, thereturn nil, err
is put inside theif trace.GotCertificate != nil
block. So, it sounds like a bug when trace.GotCertificate is not configured, where the error would not be returned and the following code would cause panic when dereferencing svids
.Code pointer: link
If it is a real bug, the fix would look very simple: just move the return statement outside below the if block.
The text was updated successfully, but these errors were encountered: