pike.git
/
lib
/
modules
/
SSL.pmod
/
https.pike
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/SSL.pmod/https.pike:179:
key = Crypto.DSA()->generate_key(1024, 160); certificate = Standards.X509.make_selfsigned_certificate(key, 3600*4, ([ "organizationName" : "Test", "commonName" : "*", ])); add_cert(key, ({ certificate })); #if constant(Crypto.ECC.Curve)
-
key = Crypto.ECC.SECP_521R1.ECDSA()->
-
set_random(Crypto.Random.random_string)->
generate_key();
+
key = Crypto.ECC.SECP_521R1.ECDSA()->generate_key();
certificate = Standards.X509.make_selfsigned_certificate(key, 3600*4, ([ "organizationName" : "Test", "commonName" : "*", ])); add_cert(key, ({ certificate })); #endif // Make sure all cipher suites are available. preferred_suites = get_suites(-1, 2);