Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ThalesIgnite/gose
Browse files Browse the repository at this point in the history
  • Loading branch information
Sol Cates committed Sep 9, 2020
2 parents c74a8e8 + f9b49f1 commit de2d841
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aes_gcm_cryptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ func NewAesGcmCryptorFromJwk(jwk jose.Jwk, required []jose.KeyOps) (Authenticate
}

// NewAesGcmCryptor create a new instance of an AesGCmCryptor from the supplied parameters.
func NewAesGcmCryptor(aead cipher.AEAD, rng io.Reader, kid string, alg jose.Alg, opeartions []jose.KeyOps) (AuthenticatedEncryptionKey, error) {
func NewAesGcmCryptor(aead cipher.AEAD, rng io.Reader, kid string, alg jose.Alg, operations []jose.KeyOps) (AuthenticatedEncryptionKey, error) {
return &AesGcmCryptor{
kid: kid,
alg: alg,
aead: aead,
rng: rng,
opts: opeartions,
opts: operations,
}, nil
}

0 comments on commit de2d841

Please sign in to comment.