File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ include src/include.am
1818include include/include.am
1919include test/include.am
2020include certs/include.am
21- # include scripts/include.am
21+ include scripts/include.am
2222
2323# noinst_PROGRAMS += bench
2424# bench_SOURCES = bench.c
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # This script provides the bare minimum function definitions for compiling
3+ # the wolfProvider library
4+
5+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) "
6+ LOG_FILE=${SCRIPT_DIR} /build-release.log
7+ source ${SCRIPT_DIR} /utils-wolfprovider.sh
8+
9+ kill_servers () {
10+ if [ " $( jobs -p) " != " " ]; then
11+ kill $( jobs -p)
12+ fi
13+ }
14+
15+ do_cleanup () {
16+ sleep 0.5 # flush buffers
17+ kill_servers
18+ }
19+
20+ do_trap () {
21+ printf " got trap\n"
22+ do_cleanup
23+ date
24+ exit 1
25+ }
26+ trap do_trap INT TERM
27+
28+ echo " Using openssl: $OPENSSL_TAG , wolfssl: $WOLFSSL_TAG "
29+
30+ init_wolfprov
31+
32+ exit $?
Original file line number Diff line number Diff line change 1+ dist_noinst_SCRIPTS += scripts/build-wolfprovider.sh
2+ dist_noinst_SCRIPTS += scripts/test-openssl.sh
3+ dist_noinst_SCRIPTS += scripts/test-wp-cs.sh
4+ dist_noinst_SCRIPTS += scripts/utils-openssl.sh
5+ dist_noinst_SCRIPTS += scripts/utils-wolfssl.sh
6+ dist_noinst_SCRIPTS += scripts/utils-wolfprovider.sh
You can’t perform that action at this time.
0 commit comments