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.6 1998/04/21 16:46:15 nisse Exp $ +  * $Id: make_csr.pike,v 1.7 1998/04/21 18:14:06 nisse Exp $    */      inherit "wizard";      import Standards.PKCS;   import Standards.ASN1.Encode;      #if 0   #define WERROR werror   #else
Roxen.git/server/config_actions/make_csr.pike:198:    {    if (id->variables[attr])    {    array a = trim->split(id->variables[attr]);    if (a)    attrs[attr] = a[0];    }    }       array name = ({ }); -  foreach( ({ "countryName", "localityName", "organizationName", +  foreach( ({ "countryName", "stateOrProvinceName", +  "localityName", "organizationName",    "organizationUnitName", "commonName" }), attr)    {    if (attrs[attr])    name += ({ ([ attr : asn1_printable_string(attrs[attr]) ]) });    }       mapping csr_attrs = ([]);    foreach( ({ "challengePassword" }), attr)    {    if (attrs[attr])