Skip to content
Snippets Groups Projects
Commit f114c348 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Crypto.ECC: Inhibit module dumping.

This is a workaround for a dumping bug where Crypto.ECC.Curve()->ECDSA
apparently doesn't get encoded properly (the decoded values seems to
not have overloaded Nettle.ECC_Curve()->ECDSA at all).

Should fix ECDSA support in dumped pikes.
parent e2f740cb
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,10 @@
#if constant(Nettle.ECC_Curve)
// The module dumper has problems with the overloaded ECDSA class,
// so inhibit dumping of this module for now.
constant dont_dump_module = 1;
//! The definition of an elliptic curve.
//!
//! Objects of this class are typically not created by the user.
......@@ -255,4 +259,6 @@ Curve SECP_384R1 = Curve(1, 384, 1);
Curve SECP_521R1 = Curve(1, 521, 1);
//! @endignore
#else
constant this_program_does_not_exist=1;
#endif /* Nettle.ECC_Curve */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment