From df39504bc6f9b106a20959b969b258db327261a5 Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Wed, 29 Aug 2018 14:18:41 +0200 Subject: ssh: Use exported crypto types --- lib/ssh/src/ssh.hrl | 8 +------- 1 file changed, 1 insertion(+), 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()]. -- cgit v1.2.3