A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cloudflare/cfssl/commit/1b44b481724ef795de3ff08efabf8a7b29078c1d below:

Fix race condition in revoke · cloudflare/cfssl@1b44b48 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed Original file line number Diff line number Diff line change

@@ -133,13 +133,13 @@ func getIssuer(cert *x509.Certificate) *x509.Certificate {

133 133

// check a cert against a specific CRL. Returns the same bool pair

134 134

// as revCheck, plus an error if one occurred.

135 135

func certIsRevokedCRL(cert *x509.Certificate, url string) (revoked, ok bool, err error) {

136 +

crlLock.Lock()

136 137

crl, ok := CRLSet[url]

137 138

if ok && crl == nil {

138 139

ok = false

139 -

crlLock.Lock()

140 140

delete(CRLSet, url)

141 -

crlLock.Unlock()

142 141

}

142 +

crlLock.Unlock()

143 143 144 144

var shouldFetchCRL = true

145 145

if ok {

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4