Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3147 by maya, Fri Sep 12 03:01:07 2008 UTC revision 3150 by yutakapon, Wed Sep 24 13:59:21 2008 UTC
# Line 5306  key_size(const Key *k) Line 5306  key_size(const Key *k)
5306  {  {
5307          switch (k->type) {          switch (k->type) {
5308          case KEY_RSA1:          case KEY_RSA1:
5309                    // SSH1の場合は key->rsa と key->dsa は NULL であるので、使わない。
5310                    return k->bits;
5311          case KEY_RSA:          case KEY_RSA:
5312                  return BN_num_bits(k->rsa->n);                  return BN_num_bits(k->rsa->n);
5313          case KEY_DSA:          case KEY_DSA:

Legend:
Removed from v.3147  
changed lines
  Added in v.3150

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26