/[hydra]/hydra/src/boa.c
ViewVC logotype

Diff of /hydra/src/boa.c

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

revision 1.15 by nmav, Mon Sep 30 17:16:54 2002 UTC revision 1.16 by nmav, Mon Sep 30 18:18:52 2002 UTC
# Line 526  static void fixup_server_root() Line 526  static void fixup_server_root()
526  }  }
527    
528  char boa_tls_version[64] = "\0";  char boa_tls_version[64] = "\0";
529  char boa_version[] = "Server: "SERVER_NAME"/"SERVER_VERSION;  char boa_version[] = "Server: "SERVER_NAME"/"SERVER_VERSION"\r\n";
530    
531  static void create_server_names()  static void create_server_names()
532  {  {
533     if ( boa_tls_version[0] == 0) {     if ( boa_tls_version[0] == 0) {
534        strcpy( boa_tls_version, "Server: "SERVER_NAME"/"SERVER_VERSION" GnuTLS/");        strcpy( boa_tls_version, "Server: "SERVER_NAME"/"SERVER_VERSION" GnuTLS/");
535        strcat( boa_tls_version, gnutls_check_version(NULL));        strcat( boa_tls_version, gnutls_check_version(NULL));
536          strcat( boa_tls_version, "\r\n");
537     }     }
538  }  }

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26