Alex Vaghin 0e4becf93e acme/autocert: treat invalid cert as a cache miss
A cached cert data may be corrupted or simply contain an expired
certificate, which results in GetCertificate returning an error.

This change makes the Manager ignore those invalid and expired
cache entries, treating them as nonexistent.

Fixes golang/go#20035.

Change-Id: I5345291ecb1aab1cf19671cf0a383135c7102038
Reviewed-on: https://go-review.googlesource.com/41690
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-25 15:40:03 +00:00
2014-12-09 23:26:36 +00:00
2017-04-07 17:36:45 +00:00
2017-04-07 17:36:45 +00:00
2016-12-06 19:59:59 +00:00
2014-12-09 23:26:36 +00:00
2017-04-07 17:36:45 +00:00
2017-04-13 00:59:54 +00:00
2016-04-25 23:11:06 +00:00
2014-12-09 23:26:36 +00:00
2014-12-09 23:26:36 +00:00
2017-02-09 19:00:49 +00:00
2017-01-04 23:09:04 +00:00
2017-01-18 18:54:26 +00:00
2014-12-09 23:26:36 +00:00
2017-02-09 23:39:01 +00:00
2014-12-09 23:26:36 +00:00
2016-10-21 19:51:19 +00:00
2014-12-09 23:26:36 +00:00
2014-12-09 23:26:36 +00:00
2014-12-09 23:26:36 +00:00
2014-12-08 10:41:13 +11:00
2015-03-18 17:04:25 +00:00
2015-02-18 23:42:20 +00:00
2012-03-17 15:19:30 +11:00
2012-01-25 15:31:12 -05:00

This repository holds supplementary Go cryptography libraries.

To submit changes to this repository, see http://golang.org/doc/contribute.html.
S
Description
Mirror of ys-ll/crypto (GitHub), kept for paraterm builds
https://golang.org/x/crypto
Readme BSD-3-Clause
8.1 MiB
Languages
Go 88.6%
Assembly 11.1%
C 0.3%