File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 3333#include "src/secp256k1/src/secp256k1.c"
3434#include "src/secp256k1/src/precomputed_ecmult_gen.c"
3535#include "src/secp256k1/src/precomputed_ecmult.c"
36- #include "src/ccan/ccan/crypto/sha256/sha256.c"
36+
37+ #ifndef _WALLY_CCAN_CONFIG_H_
38+ #include "src/ccan_config.h"
39+ #endif
3740
3841#include "src/internal.c"
3942#include "src/address.c"
6669#include "src/wif.c"
6770#include "src/wordlist.c"
6871
72+ /* ccan sources */
73+ #include "src/ccan/ccan/crypto/sha256/sha256.c"
74+
6975/* Redefine internal names so sha-512 can be included without conflicts */
7076#define Round Round_512
7177#define Transform Transform_512
Original file line number Diff line number Diff line change 1+ #ifndef _WALLY_CCAN_CONFIG_H_
2+ #define _WALLY_CCAN_CONFIG_H_ 1
3+
14/* Config directives for ccan */
5+
26#include <stddef.h>
37
48#ifdef WORDS_BIGENDIAN
5559void wally_clear (void * p , size_t len );
5660
5761#define CCAN_CLEAR_MEMORY (p , len ) wally_clear(p, len)
62+
63+ #endif /*_WALLY_CCAN_CONFIG_H_ */
You can’t perform that action at this time.
0 commit comments