Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

security: added CRL check [WIP] #5968

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
Updated deps
  • Loading branch information
kayrus committed Jul 21, 2016
commit 2b066b8877782ad7b8d19f97243c099db64e3eb5
25 changes: 19 additions & 6 deletions cmd/vendor/github.com/cloudflare/cfssl/revoke/revoke.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/tlsutil/tlsutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func revokeCheckHandler(req *http.Request, CRLpath string, revokeChecker *revoke
}

func NewRevokeHandler(handler http.Handler, CRLpath string) http.Handler {
revokeChecker := revoke.NewRevokeChecker()
revokeChecker := revoke.New()
return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
err := revokeCheckHandler(req, CRLpath, revokeChecker)
if err == nil {
Expand Down