commit | 550ed51fee2efe5b5bf5cdb85db39253b56afbc3 | [log] [tgz] |
---|---|---|
author | aviau <alexandre@alexandreviau.net> | Thu Jun 14 15:39:14 2018 -0400 |
committer | Filippo Valsorda <filippo@golang.org> | Thu Jun 14 19:53:31 2018 +0000 |
tree | f02faaaefb86547cd0bed9625630f71f8a2f1b29 | |
parent | fd5f17ee729917fcb39f16421460212d917a0813 [diff] |
openpgp: fix bad error message When failing, TestKeyExpiry would output the wrong expected key id. It would output "Expected key 1ABB25A0" instead of "Expected key 96A672F5". Avoid this mistake by declaring the variable only once and using it in the error format. Change-Id: I860d82bf2c7fa80558051cdb21a41d506e95c25f Reviewed-on: https://go-review.googlesource.com/118958 Reviewed-by: Filippo Valsorda <filippo@golang.org> Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This repository holds supplementary Go cryptography libraries.
The easiest way to install is to run go get -u golang.org/x/crypto/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/crypto
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the crypto repository is located at https://github.com/golang/go/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.