Skip to content

Commit cc5f29f

Browse files
committed
build: move memory_cleanse from util to crypto
Move memory_cleanse from util to crypto because the crypto library should not depend on other libraries, and it calls memory_cleanse.
1 parent 5b93094 commit cc5f29f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Makefile.am

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,8 @@ crypto_libbitcoin_crypto_base_la_SOURCES = \
587587
crypto/sha512.cpp \
588588
crypto/sha512.h \
589589
crypto/siphash.cpp \
590-
crypto/siphash.h
590+
crypto/siphash.h \
591+
support/cleanse.cpp
591592

592593
# See explanation for -static in crypto_libbitcoin_crypto_base_la's LDFLAGS and
593594
# CXXFLAGS above
@@ -725,7 +726,6 @@ libbitcoin_util_a_SOURCES = \
725726
random.cpp \
726727
randomenv.cpp \
727728
streams.cpp \
728-
support/cleanse.cpp \
729729
sync.cpp \
730730
util/asmap.cpp \
731731
util/batchpriority.cpp \
@@ -968,7 +968,6 @@ libbitcoinkernel_la_SOURCES = \
968968
script/solver.cpp \
969969
signet.cpp \
970970
streams.cpp \
971-
support/cleanse.cpp \
972971
support/lockedpool.cpp \
973972
sync.cpp \
974973
txdb.cpp \

0 commit comments

Comments
 (0)