2
0
mirror of https://github.com/therootcompany/keypairs synced 2025-03-09 18:10:37 +00:00

remove redundant normalization

This commit is contained in:
AJ ONeal 2019-02-22 21:47:05 +00:00
parent 489a2f63a0
commit 163511db7e

View File

@ -137,7 +137,7 @@ func get(kidOrThumb, iss string) *CachableKey {
}
}
id := kidOrThumb + "@" + normalizeIssuer(iss)
id := kidOrThumb + "@" + iss
hit, ok = KeyCache[id]
if ok {
if now := time.Now(); hit.Expiry.Sub(now) > 0 {