Branch: Tag:

2004-03-25

2004-03-25 21:36:01 by H. William Welliver III <bill@welliver.org>

using the "preferred" method of disabling code : )

Rev: lib/modules/Tools.pmod/X509.pmod:1.36

2:   //#pragma strict_types      /* -  * $Id: X509.pmod,v 1.35 2004/03/25 21:07:06 bill Exp $ +  * $Id: X509.pmod,v 1.36 2004/03/25 21:36:01 bill Exp $    *    * Some random functions for creating RFC-2459 style X.509 certificates.    *
609:    foreach(chain_obj; int idx; TBSCertificate tbs)    {    object v; - /* +  + #if 0    // NOTE: disabled due to unreliable presence of cA constraint.    //    // if we are a CA certificate (we don't care about the end cert)
647:    return m;    }    } - */ + #endif /* 0 */ +     if(idx == 0) // The root cert    {    v = authorities[tbs->issuer->get_der()];