diff options
author | Hans Nilsson <[email protected]> | 2017-10-12 15:20:39 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-10-12 16:46:01 +0200 |
commit | 38f912642070d2269e6b452ea979698bf042c6c9 (patch) | |
tree | 0a53097c71df15e1f5afcc35538990bf321b0933 /lib/public_key/src | |
parent | d0b998a96783e627f8f629b2ca3603ada0c82522 (diff) | |
download | otp-38f912642070d2269e6b452ea979698bf042c6c9.tar.gz otp-38f912642070d2269e6b452ea979698bf042c6c9.tar.bz2 otp-38f912642070d2269e6b452ea979698bf042c6c9.zip |
public_key: Remove dead code
Diffstat (limited to 'lib/public_key/src')
-rw-r--r-- | lib/public_key/src/pubkey_ssh.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public_key/src/pubkey_ssh.erl b/lib/public_key/src/pubkey_ssh.erl index 262811443b..a7d018e440 100644 --- a/lib/public_key/src/pubkey_ssh.erl +++ b/lib/public_key/src/pubkey_ssh.erl @@ -408,8 +408,8 @@ ssh2_pubkey_encode(Key={#'ECPoint'{point = Q}, {namedCurve,OID}}) -> ssh2_pubkey_decode(<<?DEC_BIN(Type,_TL), Bin/binary>>) -> ssh2_pubkey_decode(Type, Bin). -ssh2_pubkey_decode(<<"rsa-sha2-256">>, Bin) -> ssh2_pubkey_decode(<<"ssh-rsa">>, Bin); -ssh2_pubkey_decode(<<"rsa-sha2-512">>, Bin) -> ssh2_pubkey_decode(<<"ssh-rsa">>, Bin); +%% ssh2_pubkey_decode(<<"rsa-sha2-256">>, Bin) -> ssh2_pubkey_decode(<<"ssh-rsa">>, Bin); +%% ssh2_pubkey_decode(<<"rsa-sha2-512">>, Bin) -> ssh2_pubkey_decode(<<"ssh-rsa">>, Bin); ssh2_pubkey_decode(<<"ssh-rsa">>, <<?DEC_INT(E, _EL), ?DEC_INT(N, _NL)>>) -> |