1
0
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:
DarthSim 2023-11-23 22:34:55 +03:00
parent b787a59469
commit 4a531ba68a

View File

@ -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
}