Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/signature/RSASHA1Verify.java @ 287:db9b028016de ganymed
start conversion from trilead to ganymed
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 18 Jul 2014 19:52:08 -0700 |
parents | 486df527ddc5 |
children |
comparison
equal
deleted
inserted
replaced
286:4656869af8fe | 287:db9b028016de |
---|---|
82 | 82 |
83 if (s.length == 0) | 83 if (s.length == 0) |
84 throw new IOException("Error in RSA signature, S is empty."); | 84 throw new IOException("Error in RSA signature, S is empty."); |
85 | 85 |
86 if (log.isEnabled()) { | 86 if (log.isEnabled()) { |
87 log.info(80, "Decoding ssh-rsa signature string (length: " + s.length + ")"); | 87 log.info("Decoding ssh-rsa signature string (length: " + s.length + ")"); |
88 } | 88 } |
89 | 89 |
90 if (tr.remain() != 0) | 90 if (tr.remain() != 0) |
91 throw new IOException("Padding in RSA signature!"); | 91 throw new IOException("Padding in RSA signature!"); |
92 | 92 |