Branch: Tag:

2015-02-07

2015-02-07 11:21:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle.ECC_Curve: Survive old versions of Nettle.

Thanks to Chris Angelico <rosuav@gmail.com> for the report.

1005:   {    INIT;    + #ifdef HAVE_NETTLE_ECDSA_H    ADD_INT_CONSTANT("SECP192R1", SECP192R1, 0);    ADD_INT_CONSTANT("SECP224R1", SECP224R1, 0);    ADD_INT_CONSTANT("SECP256R1", SECP256R1, 0);    ADD_INT_CONSTANT("SECP384R1", SECP384R1, 0);    ADD_INT_CONSTANT("SECP521R1", SECP521R1, 0); -  + #endif /* HAVE_NETTLE_ECDSA_H */   }      void