aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-08-29 14:18:41 +0200
committerHans Nilsson <[email protected]>2018-09-13 12:07:58 +0200
commitdf39504bc6f9b106a20959b969b258db327261a5 (patch)
tree2860ecf2df93442d82e31c8cfd403698d0a8b285 /lib
parent0cdaea5199c49c1511700db3b4b0ff59f4c7396d (diff)
downloadotp-df39504bc6f9b106a20959b969b258db327261a5.tar.gz
otp-df39504bc6f9b106a20959b969b258db327261a5.tar.bz2
otp-df39504bc6f9b106a20959b969b258db327261a5.zip
ssh: Use exported crypto types
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh/src/ssh.hrl8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/ssh/src/ssh.hrl b/lib/ssh/src/ssh.hrl
index 66dbf0b144..94b9f3a196 100644
--- a/lib/ssh/src/ssh.hrl
+++ b/lib/ssh/src/ssh.hrl
@@ -260,13 +260,7 @@
| accept_callback()
| {HashAlgoSpec::fp_digest_alg(), accept_callback()}.
--type fp_digest_alg() :: 'md5' |
- 'sha' |
- 'sha224' |
- 'sha256' |
- 'sha384' |
- 'sha512'
- .
+-type fp_digest_alg() :: 'md5' | crypto:sha1() | crypto:sha2() .
-type accept_callback() :: fun((PeerName::string(), fingerprint() ) -> boolean()) .
-type fingerprint() :: string() | [string()].