diff options
author | Hans Nilsson <[email protected]> | 2017-07-05 15:23:02 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-07-07 11:38:55 +0200 |
commit | b1ced30ade0bf3f2d04ef3320bc0deb519f98283 (patch) | |
tree | 074270b9d7bc257a02147c9354b4c7716c80e34c /lib/crypto/src/crypto.erl | |
parent | b6afef4b4d1bc5705ba1c838e3f546c454de47c8 (diff) | |
download | otp-b1ced30ade0bf3f2d04ef3320bc0deb519f98283.tar.gz otp-b1ced30ade0bf3f2d04ef3320bc0deb519f98283.tar.bz2 otp-b1ced30ade0bf3f2d04ef3320bc0deb519f98283.zip |
crypto: added a 'macs' entry to proplist in crypto:supports/0
Diffstat (limited to 'lib/crypto/src/crypto.erl')
-rw-r--r-- | lib/crypto/src/crypto.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl index d111525214..85206ce9e5 100644 --- a/lib/crypto/src/crypto.erl +++ b/lib/crypto/src/crypto.erl @@ -87,11 +87,12 @@ stop() -> application:stop(crypto). supports()-> - {Hashs, PubKeys, Ciphers} = algorithms(), + {Hashs, PubKeys, Ciphers, Macs} = algorithms(), [{hashs, Hashs}, {ciphers, Ciphers}, - {public_keys, PubKeys} + {public_keys, PubKeys}, + {macs, Macs} ]. info_lib() -> ?nif_stub. |