Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/ttssh2/ttxssh/hosts.c

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

revision 6145 by maya, Tue Nov 17 04:37:00 2015 UTC revision 6146 by maya, Tue Nov 17 04:38:16 2015 UTC
# Line 1457  void HOSTS_add_host_key(PTInstVar pvar, Line 1457  void HOSTS_add_host_key(PTInstVar pvar,
1457          }          }
1458  }  }
1459    
 static char FAR *copy_mp_int(char FAR * num)  
 {  
         int len = (get_ushort16_MSBfirst(num) + 7) / 8 + 2;  
         char FAR *result = (char FAR *) malloc(len);  
   
         if (result != NULL) {  
                 memcpy(result, num, len);  
         }  
   
         return result;  
 }  
   
1460  //  //
1461  // 同じホストで内容の異なるキーを削除する  // 同じホストで内容の異なるキーを削除する
1462  // add_host_key のあとに呼ぶこと  // add_host_key のあとに呼ぶこと

Legend:
Removed from v.6145  
changed lines
  Added in v.6146

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