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 6019 by yutakapon, Sun Sep 13 16:23:19 2015 UTC revision 6120 by maya, Fri Nov 13 05:06:34 2015 UTC
# Line 4271  char* get_ssh_keytype_name(ssh_keytype t Line 4271  char* get_ssh_keytype_name(ssh_keytype t
4271          return p;          return p;
4272  }  }
4273    
4274    char* get_digest_algorithm_name(digest_algorithm id)
4275    {
4276            ssh_digest_t *ptr = ssh_digests;
4277            static char buf[16];
4278    
4279            while (ptr->name != NULL) {
4280                    if (id == ptr->id) {
4281                            strncpy_s(buf, sizeof(buf), ptr->name, _TRUNCATE);
4282                            break;
4283                    }
4284                    ptr++;
4285            }
4286            return buf;
4287    }
4288    
4289  static void do_write_buffer_file(void *buf, int len, char *file, int lineno)  static void do_write_buffer_file(void *buf, int len, char *file, int lineno)
4290  {  {

Legend:
Removed from v.6019  
changed lines
  Added in v.6120

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