pike.git / lib / modules / Protocols.pmod / HTTP.pmod / Server.pmod / SSLPort.pike

version» Context lines:

pike.git/lib/modules/Protocols.pmod/HTTP.pmod/Server.pmod/SSLPort.pike:88: Inside #if constant(SSL.Cipher.CipherAlgorithm)
   ]);       certificates = ({    Standards.X509.make_selfsigned_certificate(private_key, 3600*24*365, a)    });    }       //!    void set_key(string skey)    { -  private_key = Standards.PKCS.RSA.parse_private_key(skey); +  private_key = Standards.PKCS.RSA.parse_private_key(skey) || +  Standards.PKCS.DSA.parse_private_key(skey);    }       //!    void set_certificate(string|array(string) certificate)    {    if(arrayp(certificate))    certificates = [array(string)]certificate;    else    certificates = ({ [string]certificate });    } -  -  void create() -  { -  sslport::create(); -  random = Crypto.Random.random_string; +    }    - } -  +    string _sprintf(int t) {    return t=='O' && sprintf("%O(%O:%d)", this_program, interface, portno);   }      #endif