Commit 87a5c56
authored
Add missing :crypto dependency (#16)
This fixes the following Elixir 1.11 warning:
```
warning: :crypto.block_decrypt/4 defined in application :crypto is used
by the current application but the current application does not directly
depend on :crypto. To fix this, you must do one of:
1. If :crypto is part of Erlang/Elixir, you must include it under
:extra_applications inside "def application" in your mix.exs
2. If :crypto is a dependency, make sure it is listed under "def deps"
in your mix.exs
3. In case you don't want to add a requirement to :crypto, you may
optionally skip this warning by adding [xref: [exclude: :crypto]] to
your "def project" in mix.exs
Found at 3 locations:
lib/pbcs/aes_cbc_hmac_sha2.ex:94:
PBCS.AES_CBC_HMAC_SHA2.aes_cbc_decrypt/3
lib/pbcs/aes_cbc_hmac_sha2.ex:100:
PBCS.AES_CBC_HMAC_SHA2.aes_cbc_decrypt/3
lib/pbcs/aes_gcm.ex:26: PBCS.AES_GCM.content_decrypt/3
```
It also removes `:logger` since neither the Elixir or Erlang loggers are
used by this project.1 parent 253fef9 commit 87a5c56
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments