Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/auth.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 6229 by yutakapon, Fri Jan 1 11:06:37 2016 UTC
# Line 51  static HFONT DlgAuthSetupFont; Line 51  static HFONT DlgAuthSetupFont;
51  void destroy_malloced_string(char FAR * FAR * str)  void destroy_malloced_string(char FAR * FAR * str)
52  {  {
53          if (*str != NULL) {          if (*str != NULL) {
54                  memset(*str, 0, strlen(*str));                  SecureZeroMemory(*str, strlen(*str));
55                  free(*str);                  free(*str);
56                  *str = NULL;                  *str = NULL;
57          }          }

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

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