Branch: Tag:

2014-01-15

2014-01-15 08:52:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Support Nettle without ECC again.

203: Inside #if constant(SSL.Cipher.CipherAlgorithm)
   return -17;   #else   #ifdef ECDSA_MODE + #if constant(Crypto.ECC.Curve)    ecdsa = Crypto.ECC.SECP_521R1.ECDSA()->    set_random(Crypto.Random.random_string)->generate_key();    my_certificate =
212: Inside #if constant(SSL.Cipher.CipherAlgorithm) and #if defined(ECDSA_MODE)
   ]));    ecdsa_mode();   #else + #error ECDSA not supported by this Pike. +  exit(1); + #endif + #else    SSL3_DEBUG_MSG("Cert: '%s'\n", String.string2hex(my_certificate));    SSL3_DEBUG_MSG("Key: '%s'\n", String.string2hex(my_key));   #if 0