crypto/x509: offer a useful error when ParsePKCS8PrivateKey/ParseECPrivateKey/ParsePKCS1PrivateKey or ParsePKIXPublicKey/ParsePKCS1PrivateKey are mixed up #30094
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
When parsing fails in one of these functions, we could check if one of the others would have worked, and offer a helpful error message.
The text was updated successfully, but these errors were encountered: