Skip to content

Commit

Permalink
Merge pull request #39 from bandi13/moreReleaseChanges
Browse files Browse the repository at this point in the history
More release changes
  • Loading branch information
douzzer authored Jul 17, 2024
2 parents a041641 + 4862383 commit eee6d8b
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 2 deletions.
11 changes: 11 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# wolfProvider version 1.0.0 (July 17, 2024)

This is the first release of wolfProvider. It is similar to wolfEngine (which
creates a library to interface with OpenSSL 1.x). WolfProvider interfaces with
OpenSSL 3.x using our wolfCrypt cryptography module.

This first release has sample applications for Android as well as XCode (iOS).
In addition, there are utility scripts added as a convenience for compiling
all the dependencies of wolfProvider.

Refer to README.md for more details
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ include src/include.am
include include/include.am
include test/include.am
include certs/include.am
#include scripts/include.am
include scripts/include.am

#noinst_PROGRAMS += bench
#bench_SOURCES = bench.c
Expand Down
2 changes: 1 addition & 1 deletion include/wolfprovider/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
extern "C" {
#endif

#define LIBWOLFPROV_VERSION_STRING "0.0.1"
#define LIBWOLFPROV_VERSION_STRING "1.0.0"
#define LIBWOLFPROV_VERSION_HEX @HEX_VERSION@

#ifdef __cplusplus
Expand Down
32 changes: 32 additions & 0 deletions scripts/build-wolfprovider.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/bin/bash
# This script provides the bare minimum function definitions for compiling
# the wolfProvider library

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
LOG_FILE=${SCRIPT_DIR}/build-release.log
source ${SCRIPT_DIR}/utils-wolfprovider.sh

kill_servers() {
if [ "$(jobs -p)" != "" ]; then
kill $(jobs -p)
fi
}

do_cleanup() {
sleep 0.5 # flush buffers
kill_servers
}

do_trap() {
printf "got trap\n"
do_cleanup
date
exit 1
}
trap do_trap INT TERM

echo "Using openssl: $OPENSSL_TAG, wolfssl: $WOLFSSL_TAG"

init_wolfprov

exit $?
6 changes: 6 additions & 0 deletions scripts/include.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dist_noinst_SCRIPTS += scripts/build-wolfprovider.sh
dist_noinst_SCRIPTS += scripts/test-openssl.sh
dist_noinst_SCRIPTS += scripts/test-wp-cs.sh
dist_noinst_SCRIPTS += scripts/utils-openssl.sh
dist_noinst_SCRIPTS += scripts/utils-wolfssl.sh
dist_noinst_SCRIPTS += scripts/utils-wolfprovider.sh

0 comments on commit eee6d8b

Please sign in to comment.