File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ wolfprov_build() {
100100 WOLFSSL_ISFIPS=${WOLFSSL_ISFIPS:- 0}
101101 dpkg-buildpackage -us -uc \
102102 -eWOLFSSL_ISFIPS \
103+ -eWOLFPROV_DEBUG \
103104 -eCC -eCXX \
104105 -eCCACHE_DIR -eCCACHE_BASEDIR -eCCACHE_NOHASHDIR -eCCACHE_COMPILERCHECK
105106
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ ifeq ($(WOLFPROV_DEBUG),1)
3737 VARIANT := $(VARIANT ) -debug
3838 VARIANT_DESC := $(VARIANT_DESC ) with debug logs
3939 VERSION := $(VERSION ) -debug
40- DEBUG_FLAG := --enable-debug
40+ DEBUG_FLAG := --enable-debug --enable-debug-silent
4141endif
4242
4343ifeq ($(DEB_CFLAGS_APPEND ) ,)
@@ -57,9 +57,9 @@ override_dh_auto_configure:
5757 # ensure only our .pc dirs are searched: \
5858 PKG_CONFIG_DIR= PKG_CONFIG_PATH= \
5959 PKG_CONFIG_LIBDIR=" $( PKG_CONFIG_LIBDIR) " \
60- dh_auto_configure -- $(DEBUG_FLAG ) ; \
60+ dh_auto_configure -- $(DEBUG_FLAG ) --enable-seed-src ; \
6161 else \
62- ./configure $(DEBUG_FLAG ) ; \
62+ ./configure $(DEBUG_FLAG ) --enable-seed-src ; \
6363 fi
6464
6565override_dh_auto_build :
Original file line number Diff line number Diff line change @@ -71,7 +71,9 @@ static XFILE g_urandom_file = XBADFILE;
7171/*
7272 * Flag indicating whether the seed callback has been registered.
7373 */
74+ #ifdef WC_RNG_SEED_CB
7475static int g_seed_cb_registered = 0 ;
76+ #endif
7577
7678/**
7779 * wolfSSL seed callback that uses the cached /dev/urandom file.
You can’t perform that action at this time.
0 commit comments