diff options
author | Niclas Eklund <[email protected]> | 2010-12-20 17:05:39 +0100 |
---|---|---|
committer | Niclas Eklund <[email protected]> | 2010-12-20 17:05:39 +0100 |
commit | 4e894385dba69227fde6a5b402b169ec4621a356 (patch) | |
tree | c7f28fc7c5245c4cab6d351f7569af5255473067 /lib/ssh/src/ssh_rsa.erl | |
parent | 8a1ec022a6395ce6c228c6776dc12bff4f3967cf (diff) | |
download | otp-4e894385dba69227fde6a5b402b169ec4621a356.tar.gz otp-4e894385dba69227fde6a5b402b169ec4621a356.tar.bz2 otp-4e894385dba69227fde6a5b402b169ec4621a356.zip |
OTP-8987
In some cases SSH returned {error, normal} when a channel was terminated
unexpectedly. This has now been changed to {error, channel_closed}.
OTP-8986
It is now possible to use SSH to sign and verify binary data.
Diffstat (limited to 'lib/ssh/src/ssh_rsa.erl')
-rwxr-xr-x | lib/ssh/src/ssh_rsa.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_rsa.erl b/lib/ssh/src/ssh_rsa.erl index e27cdcf7bd..91b8285b2e 100755 --- a/lib/ssh/src/ssh_rsa.erl +++ b/lib/ssh/src/ssh_rsa.erl @@ -202,8 +202,7 @@ rsassa_pkcs1_v1_5_verify(Public=#ssh_key { public={N,_E}}, Mb, Sb) -> case emsa_pkcs1_v1_5_encode(Mb, K) of EM -> ok; _S -> - io:format("S: ~p~n", [_S]), - {error, invalid_signature} % exit(invalid_signature) + {error, invalid_signature} end. |