diff options
author | Lorenz Brun <lorenz@brun.one> | 2019-10-30 02:29:23 +0000 |
---|---|---|
committer | Filippo Valsorda <filippo@golang.org> | 2019-11-11 18:00:18 +0000 |
commit | ad7ce3911f4947b4cccb435b6374e3808f0062db (patch) | |
tree | 6028f2d81fe4f698d18ff19c3901fa42307a54a7 /src/strconv | |
parent | 6375fe4b9e5656e0ac7a46752ec2a997dd62d370 (diff) | |
download | go-git-ad7ce3911f4947b4cccb435b6374e3808f0062db.tar.gz |
crypto/x509: fix CreateCRL for Ed25519 CAs
This makes Ed25519 certificates work for CreateCRL(). This previously
failed (panic: crypto: requested hash function #0 is unavailable) because
the hash could not be skipped, but Ed25519 uses no hash.
A similar fix has been applied in a few other places when Ed25519 was added
when Ed25519 certificates were originally introduced, but was missed
here.
Change-Id: I16fcfcd53ba3bb8f773e5de972b8fedde1f6350e
Change-Id: I16fcfcd53ba3bb8f773e5de972b8fedde1f6350e
GitHub-Last-Rev: bf7f1458f850d01605c619c3f53f86649477dd4d
GitHub-Pull-Request: golang/go#35241
Reviewed-on: https://go-review.googlesource.com/c/go/+/204046
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Diffstat (limited to 'src/strconv')
0 files changed, 0 insertions, 0 deletions