remove redundant normalization
This commit is contained in:
parent
489a2f63a0
commit
163511db7e
|
@ -137,7 +137,7 @@ func get(kidOrThumb, iss string) *CachableKey {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
id := kidOrThumb + "@" + normalizeIssuer(iss)
|
id := kidOrThumb + "@" + iss
|
||||||
hit, ok = KeyCache[id]
|
hit, ok = KeyCache[id]
|
||||||
if ok {
|
if ok {
|
||||||
if now := time.Now(); hit.Expiry.Sub(now) > 0 {
|
if now := time.Now(); hit.Expiry.Sub(now) > 0 {
|
||||||
|
|
Loading…
Reference in New Issue