We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bfca78 commit 2022917Copy full SHA for 2022917
src/pubkey.cpp
@@ -16,6 +16,18 @@
16
#include <algorithm>
17
#include <cassert>
18
19
+namespace {
20
+
21
+struct Secp256k1SelfTester
22
+{
23
+ Secp256k1SelfTester() {
24
+ /* Run libsecp256k1 self-test before using the secp256k1_context_static. */
25
+ secp256k1_selftest();
26
+ }
27
+} SECP256K1_SELFTESTER;
28
29
+} // namespace
30
31
/** This function is taken from the libsecp256k1 distribution and implements
32
* DER parsing for ECDSA signatures, while supporting an arbitrary subset of
33
* format violations.
0 commit comments