]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: bypass signature verification in CreateCertificate when using MD5WithRSA
authorRoland Shoemaker <rolandshoemaker@gmail.com>
Tue, 20 Oct 2020 20:50:52 +0000 (13:50 -0700)
committerRoland Shoemaker <roland@golang.org>
Wed, 21 Oct 2020 17:13:25 +0000 (17:13 +0000)
commitb04eb73a6891e81e2e611ee93b3aa8c4769d5967
tree46d6a550f370493bd5e017711a30d1dea1dfeea1
parent6f45b39e4dbabf0b179a60ffacf434e55b2d5eab
crypto/x509: bypass signature verification in CreateCertificate when using MD5WithRSA

Bypasses the signature verification check we previously added if the
signature algorithm is MD5WithRSA, as we only support this algorithm
for signing and not verification.

Change-Id: Idba6dbba8b365d6199d467526746b88a5f734af1
Reviewed-on: https://go-review.googlesource.com/c/go/+/264019
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Trust: Roland Shoemaker <roland@golang.org>
src/crypto/x509/x509.go
src/crypto/x509/x509_test.go