aboutsummaryrefslogtreecommitdiff
path: root/networking/ssl_helper/ssl_helper.sh
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2014-02-23 23:31:13 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2014-02-23 23:31:13 +0100
commitd82046f59f8b3d338bcfe6aa3b786e13c5c54ee3 (patch)
treed5cc2c58ada8df263a83edfb1c39026498ade759 /networking/ssl_helper/ssl_helper.sh
parent8b7e8ae2249ffd9aa2c67536554eb9f6b6636ba5 (diff)
downloadbusybox-d82046f59f8b3d338bcfe6aa3b786e13c5c54ee3.tar.gz
networking/ssl_helper: experimental matrixssl-based ssl helper
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ssl_helper/ssl_helper.sh')
-rwxr-xr-xnetworking/ssl_helper/ssl_helper.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/networking/ssl_helper/ssl_helper.sh b/networking/ssl_helper/ssl_helper.sh
new file mode 100755
index 000000000..dc52de778
--- /dev/null
+++ b/networking/ssl_helper/ssl_helper.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# I use this to build static uclibc based binary using Aboriginal Linux toolchain:
+PREFIX=x86_64-
+STATIC=-static
+# Standard build:
+PREFIX=""
+STATIC=""
+
+${PREFIX}gcc -Os -DPOSIX -I.. -I../sampleCerts -Wall -c ssl_helper.c -o ssl_helper.o
+${PREFIX}gcc $STATIC ssl_helper.o ../libmatrixssl.a -lc ../libmatrixssl.a -o ssl_helper