commit | ff745d0763f824127273eee405c465dfc3254caf | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@golang.org> | Wed Aug 08 12:05:25 2018 -0700 |
committer | Adam Langley <agl@golang.org> | Wed Aug 08 21:16:02 2018 +0000 |
tree | 7e666f35e4f669d23b34395e6ebbff1b2349a064 | |
parent | f027049dab0ad238e394a753dba2d14753473a04 [diff] |
acme/autocert: fix race in test. The timeNow package variable doesn't work well here: since the renewal functionality spawns goroutines that invoke timeNow, once a test has caused such goroutines to exist, another test can't fiddle with it without the race detector triggering. Instead, have a private member of Manager that the tests can set if they need. Change-Id: Iaf1a68d8efb84c9c5e2804aeb9cc6b2d3f3fef43 Reviewed-on: https://go-review.googlesource.com/128655 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@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.