/[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.15 by gray, Sat May 10 09:02:06 2003 UTC revision 1.16 by gray, Sat May 10 17:10:32 2003 UTC
# Line 431  process_command(void *sd_client, void *s Line 431  process_command(void *sd_client, void *s
431                  if (topt & T_SSL_CKCLIENT)                  if (topt & T_SSL_CKCLIENT)
432                          check_filemode(secure.key);                          check_filemode(secure.key);
433    
434                    swrite(SERVER, sd_client, "220 2.0.0 Ready to start TLS"CRLF);
435                  secure.server = start_ssl_server((int)sd_client);                  secure.server = start_ssl_server((int)sd_client);
436                  if (!secure.server || (topt & T_ERROR)) {                  if (!secure.server || (topt & T_ERROR)) {
437                          swrite(SERVER, sd_client,                          swrite(SERVER, sd_client,
438                                 "454 4.3.3 TLS not available"CRLF);                                 "454 4.3.3 TLS not available"CRLF);
439                          return;                          return;
440                  }                  }
                 swrite(SERVER, sd_client, "220 2.0.0 Ready to start TLS"CRLF);  
441                  sd_client = remote_client = (void *)secure.server;                  sd_client = remote_client = (void *)secure.server;
442                  topt |= T_SSL_FINISHED;                  topt |= T_SSL_FINISHED;
443  #else  #else

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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