Branch: Tag:

1999-04-25

1999-04-25 16:52:47 by Marcus Comstedt <marcus@mc.pp.se>

Added specific "welcome screen" for 40bit version.

Rev: server/base_server/mainconfig.pike:1.110
Rev: server/etc/config.40bit.html:1.1

1:   inherit "config/builders"; - string cvs_version = "$Id: mainconfig.pike,v 1.109 1998/09/30 17:38:17 grubba Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.110 1999/04/25 16:52:45 marcus Exp $";   //inherit "roxenlib";      inherit "config/draw_things";
1328:    // lobotomized international version.       int full_version=0; +  int half_version=0;    catch {    if (sizeof(indices(master()->resolv("_Crypto")))) {    full_version = 1;    }    }; -  +  if(full_version) +  catch { + #ifndef WEAK_CRYPTO_40BIT +  if(search(Stdio.read_bytes("protocols/ssl3.pike"), +  "WEAK_CRYPTO_40BIT")<0) + #endif +  { +  half_version = 1; +  full_version = 0; +  } +  };       return http_string_answer(default_head("Roxen Challenger " +    roxen->__roxen_version__ + "." +
1340:    status_row(root)+    display_tabular_header(root)+    Stdio.read_bytes(full_version?"etc/config.html": -  "etc/config.int.html"), "text/html"); +  (half_version?"etc/config.40bit.html": +  "etc/config.int.html")),"text/html");    }       if(sizeof(id->prestate))