Develop and Download Open Source Software

Browse Subversion Repository

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

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

revision 4313 by maya, Wed Feb 16 15:48:49 2011 UTC revision 4321 by maya, Sat Feb 19 07:41:41 2011 UTC
# Line 76  static char FAR *ProtocolFamilyList[] = Line 76  static char FAR *ProtocolFamilyList[] =
76    
77  #include "buffer.h"  #include "buffer.h"
78  #include "cipher.h"  #include "cipher.h"
79    #include "key.h"
80    
81  #include "sftp.h"  #include "sftp.h"
82    
# Line 2238  static void init_about_dlg(PTInstVar pva Line 2239  static void init_about_dlg(PTInstVar pva
2239    
2240                          append_about_text(dlg, "KEX:", ssh2_kex_algorithms[pvar->kex_type].name);                          append_about_text(dlg, "KEX:", ssh2_kex_algorithms[pvar->kex_type].name);
2241    
2242                          if (pvar->hostkey_type == KEY_DSA) {                          strncpy_s(buf, sizeof(buf), get_sshname_from_keytype(pvar->hostkey_type), _TRUNCATE);
                                 strncpy_s(buf, sizeof(buf), "ssh-dss", _TRUNCATE);  
                         } else {  
                                 strncpy_s(buf, sizeof(buf), "ssh-rsa", _TRUNCATE);  
                         }  
2243                          UTIL_get_lang_msg("DLG_ABOUT_HOSTKEY", pvar, "Host Key:");                          UTIL_get_lang_msg("DLG_ABOUT_HOSTKEY", pvar, "Host Key:");
2244                          append_about_text(dlg, pvar->ts->UIMsg, buf);                          append_about_text(dlg, pvar->ts->UIMsg, buf);
2245    

Legend:
Removed from v.4313  
changed lines
  Added in v.4321

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