Branch: Tag:

2013-11-21

2013-11-21 15:31:14 by Martin Nilsson <nilsson@opera.com>

Simplified the Standards.PKCS.Certificate.build_distinguished_name().

267:   //! different certificates from the same signer with the same serial   //! number.   string make_selfsigned_certificate(Crypto.RSA|Crypto.DSA c, int ttl, -  array name, array|void extensions, +  mapping|array name, array|void extensions,    void|int serial)   {    if(!serial)    serial = (int)Gmp.mpz(Standards.UUID.make_version1(-1)->encode(), 256); -  Sequence dn = Certificate.build_distinguished_name(@name); +  Sequence dn = Certificate.build_distinguished_name(name);    return sign_key(dn, c, dn, serial, ttl, extensions);   }