CC-796: Remove dependency on unsupported version of go-oidc

This commit is contained in:
João Oliveirinha
2022-03-18 17:11:44 +00:00
committed by Nuno Diegues
parent 1b511b2d25
commit 9422ea8ed8
37 changed files with 1146 additions and 905 deletions

View File

@@ -150,7 +150,7 @@ func (ctx *cbcAEAD) computeAuthTag(aad, nonce, ciphertext []byte) []byte {
return hmac.Sum(nil)[:ctx.authtagBytes]
}
// resize ensures the the given slice has a capacity of at least n bytes.
// resize ensures that the given slice has a capacity of at least n bytes.
// If the capacity of the slice is less than n, a new slice is allocated
// and the existing data will be copied.
func resize(in []byte, n uint64) (head, tail []byte) {