Roxen.git / server / config_actions / make_csr.pike

version» Context lines:

Roxen.git/server/config_actions/make_csr.pike:1:   /* -  * $Id: make_csr.pike,v 1.3 1997/12/17 01:00:25 grubba Exp $ +  * $Id: make_csr.pike,v 1.4 1997/12/20 00:20:38 grubba Exp $    */      inherit "wizard";      import Standards.PKCS;   import Standards.ASN1.Encode;      #if 0   #define WERROR werror   #else   #define WERROR(x)   #endif      constant name = "Security//Generate a Certificate Signing Request for an RSA key...";      constant doc = ("To use an RSA key with your server, you must have a certificate "    "for it. You request a certificate by sending a Certificate "    "Signing Request to a Certificate Authority, for example Thawte "    "or VeriSign.");    - #if !constant(Crypto.rsa) + #if !constant(_Crypto) || !constant(Crypto.rsa)      constant action_disabled = 1;    - #else /* constant(Crypto.rsa) */ + #else /* constant(_Crypto) && constant(Crypto.rsa) */      mixed page_0(object id, object mc)   {    string msg;       if (id->variables->_error)    {    msg = "<font color=red>" + id->variables->_error    + "</font><p>";    id->variables->_error = 0;
Roxen.git/server/config_actions/make_csr.pike:233:    +"</pre>";   }      mixed wizard_done(object id, object mc)   {    return 0;   }      mixed handle(object id) { return wizard_for(id,0); }    - #endif /* constant(Crypto.rsa) */ + #endif /* constant(_Crypto) && constant(Crypto.rsa) */