Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings #111

Closed
fireproofsocks opened this issue Mar 28, 2019 · 1 comment · Fixed by #149
Closed

Deprecation warnings #111

fireproofsocks opened this issue Mar 28, 2019 · 1 comment · Fixed by #149

Comments

@fireproofsocks
Copy link

The following warnings are observed on
Elixir 1.8.1 (compiled with Erlang/OTP 21)

src/smtp_util.erl:71: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1
src/smtp_util.erl:71: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1
src/socket.erl:124: Warning: ssl:ssl_accept/1: deprecated; use ssl:handshake/1 instead
src/socket.erl:233: Warning: ssl:ssl_accept/3: deprecated; use ssl:handshake/3 instead
@kdisneur
Copy link
Contributor

kdisneur commented Apr 1, 2019

Yes it's coming from gen_smtp.

A pull-request has been opened some months ago but can't be merged as it is, because the suggested functions (i.e.ssl:handshake) did not exist in previous OTP versions.

babariviere added a commit that referenced this issue Oct 27, 2020
babariviere added a commit that referenced this issue Nov 3, 2020
babariviere added a commit that referenced this issue Nov 4, 2020
Update mix dependencies. Fixes most warning caused by old dependencies. (mostly `gen_smtp` who had a deprecation warning)

Closes #111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants