diff options
author | Ingela Anderton Andin <[email protected]> | 2012-02-17 14:30:19 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2012-02-17 14:30:19 +0100 |
commit | 0e4ae2a2b5d291b5e918f3ab9e675c4137d1888b (patch) | |
tree | d666a8296dbd4c6d128c5a75c6648afd96c39219 /lib/ssh/src/ssh_auth.erl | |
parent | 102c34e414f573081a93ca49162dd78cf91949b7 (diff) | |
download | otp-0e4ae2a2b5d291b5e918f3ab9e675c4137d1888b.tar.gz otp-0e4ae2a2b5d291b5e918f3ab9e675c4137d1888b.tar.bz2 otp-0e4ae2a2b5d291b5e918f3ab9e675c4137d1888b.zip |
Improved error handling
Diffstat (limited to 'lib/ssh/src/ssh_auth.erl')
-rw-r--r-- | lib/ssh/src/ssh_auth.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_auth.erl b/lib/ssh/src/ssh_auth.erl index 62d684f4dc..1a4517c689 100644 --- a/lib/ssh/src/ssh_auth.erl +++ b/lib/ssh/src/ssh_auth.erl @@ -340,7 +340,7 @@ verify_sig(SessionId, User, Service, Alg, KeyBlob, SigWLen, Opts) -> ?UINT32(SigLen), Sig:SigLen/binary>> = AlgSig, ssh_transport:verify(PlainText, sha, Sig, Key); false -> - {error, key_unacceptable} + false end. build_sig_data(SessionId, User, Service, KeyBlob, Alg) -> |