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

This commit is contained in:
emmanuel
2022-02-05 15:39:29 +00:00
committed by Emmanuel Meinen
parent f44e496dd9
commit 0899d6a136
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) {