mirror of
https://github.com/therootcompany/keypairs
synced 2025-03-09 18:10:37 +00:00
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]
|
||||
if ok {
|
||||
if now := time.Now(); hit.Expiry.Sub(now) > 0 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user