akappen / s3_direct_upload

Pre-signed S3 upload helper for client-side multipart POSTs
https://hex.pm/packages/s3_direct_upload
Other
13 stars 15 forks source link

Add Erlang/OTP 24 compatibility #5

Open swelham opened 3 years ago

swelham commented 3 years ago

In OTP 24 the crypto:hmac function was removed in favour of crypto:mac.

This PR adds support for OTP 24 whilst maintaining backwards compatibility for older versions.