acme: fix nil pointer dereference in pebble test error reporting The WaitOrder failure path used errors.Is with a nil *OrderError target, which never matches and left orderErr nil at the point its Problem field was dereferenced. Use errors.As to populate the target instead. Found by govet's nilness check. Change-Id: Ieef849fcbf04c85ef32651059db2b5fe162af325 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/803181 Reviewed-by: Roland Shoemaker <roland@golang.org> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Carlos Amedee <carlos@golang.org>
This repository holds supplementary Go cryptography packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/crypto.
The main issue tracker for the crypto repository is located at https://go.dev/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.