mirror of
https://github.com/imgproxy/imgproxy.git
synced 2024-11-24 08:12:38 +02:00
Remove deprecated s3crypto.RegisterKMSWrapWithAnyCMK call
This commit is contained in:
parent
b787a59469
commit
4a531ba68a
@ -217,9 +217,6 @@ func createCryptoRegistry(sess *session.Session) (*s3crypto.CryptoRegistry, erro
|
||||
kmsClient := kms.New(sess)
|
||||
|
||||
cr := s3crypto.NewCryptoRegistry()
|
||||
if err := s3crypto.RegisterKMSWrapWithAnyCMK(cr, kmsClient); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := s3crypto.RegisterKMSContextWrapWithAnyCMK(cr, kmsClient); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user