[BACK]Return to sshkey.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sshkey.c between version 1.8 and 1.9

version 1.8, 2015/01/08 10:14:08 version 1.9, 2015/01/12 13:29:27
Line 3454 
Line 3454 
     int force_new_format, const char *new_format_cipher, int new_format_rounds)      int force_new_format, const char *new_format_cipher, int new_format_rounds)
 {  {
         switch (key->type) {          switch (key->type) {
 #ifdef WITH_OPENSSL  #ifdef WITH_SSH1
         case KEY_RSA1:          case KEY_RSA1:
                 return sshkey_private_rsa1_to_blob(key, blob,                  return sshkey_private_rsa1_to_blob(key, blob,
                     passphrase, comment);                      passphrase, comment);
   #endif /* WITH_SSH1 */
   #ifdef WITH_OPENSSL
         case KEY_DSA:          case KEY_DSA:
         case KEY_ECDSA:          case KEY_ECDSA:
         case KEY_RSA:          case KEY_RSA:
Line 3762 
Line 3764 
                 *commentp = NULL;                  *commentp = NULL;
   
         switch (type) {          switch (type) {
 #ifdef WITH_OPENSSL  #ifdef WITH_SSH1
         case KEY_RSA1:          case KEY_RSA1:
                 return sshkey_parse_private_rsa1(blob, passphrase,                  return sshkey_parse_private_rsa1(blob, passphrase,
                     keyp, commentp);                      keyp, commentp);
   #endif /* WITH_SSH1 */
   #ifdef WITH_OPENSSL
         case KEY_DSA:          case KEY_DSA:
         case KEY_ECDSA:          case KEY_ECDSA:
         case KEY_RSA:          case KEY_RSA:

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9