/[anubis]/anubis/src/tunnel.c
ViewVC logotype

Diff of /anubis/src/tunnel.c

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

revision 1.6 by gray, Thu Feb 6 15:47:37 2003 UTC revision 1.7 by gray, Fri Feb 7 23:14:09 2003 UTC
# Line 282  process_command(void *sd_client, void *s Line 282  process_command(void *sd_client, void *s
282    
283                  if (secure.cert == 0)                  if (secure.cert == 0)
284                          secure.cert = allocbuf(DEFAULT_SSL_PEM, MAXPATHLEN);                          secure.cert = allocbuf(DEFAULT_SSL_PEM, MAXPATHLEN);
285                  if (check_filename(secure.cert) == 0)                  if (check_filename(secure.cert, NULL) == 0)
286                          return;                          return;
287                  if (secure.key == 0)                  if (secure.key == 0)
288                          secure.key = allocbuf(secure.cert, MAXPATHLEN);                          secure.key = allocbuf(secure.cert, MAXPATHLEN);
289                  else {                  else {
290                          if (check_filename(secure.key) == 0)                          if (check_filename(secure.key, NULL) == 0)
291                                  return;                                  return;
292                  }                  }
293    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26