Open
Description
I caught this code in crypto/tls
if sigType == 0 || err != nil {
c.sendAlert(alertInternalError)
return err
}
You can see that if sigType == 0 && err == nil
, we return nil, when in fact an error occurred.
This feels common enough and likely enough to be a mistake that staticcheck might raise it.