mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-06 10:21:05 +02:00
fix comment
This commit is contained in:
parent
365865a372
commit
82aa164bac
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ func IsEncryptedURLV1(values url.Values) bool {
|
||||||
return values.Has(paramSenderPublicKey) && values.Has(paramQuery)
|
return values.Has(paramSenderPublicKey) && values.Has(paramQuery)
|
||||||
}
|
}
|
||||||
|
|
||||||
// // IsEncryptedURLV2 returns true if the url.Values contains a V2 HPKE encrypted query.
|
// IsEncryptedURLV2 returns true if the url.Values contains a V2 HPKE encrypted query.
|
||||||
func IsEncryptedURLV2(values url.Values) bool {
|
func IsEncryptedURLV2(values url.Values) bool {
|
||||||
return values.Has(paramSenderPublicKeyV2) && values.Has(paramQueryV2)
|
return values.Has(paramSenderPublicKeyV2) && values.Has(paramQueryV2)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue