Commit d840533
committed
Remove deprecated :ssl.cipher_suites/0 call
The :ssl.cipher_suites/0 function is deprecated in favor of
:ssl.cipher_suites/2.
Since Elixir 1.11+ requires OTP 21+, we can remove the conditional
code for older OTP versions and always use the newer API.
This simplifies the code and fixes deprecation warnings:
warning: :ssl.cipher_suites/0 is undefined or private,
use cipher_suites/2,3 instead1 parent 5f88521 commit d840533
2 files changed
Lines changed: 3 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 131 | + | |
| 132 | + | |
136 | 133 | | |
137 | 134 | | |
138 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 100 | + | |
106 | 101 | | |
107 | 102 | | |
108 | 103 | | |
| |||
0 commit comments