acl/lib_fiber/samples/ssl_server/t.sh
2020-01-06 15:29:03 +08:00

9 lines
287 B
Bash
Executable File

#!/bin/sh
os=$(echo `uname -s`)
if [ $os == "Darwin" ]; then
./server -l "../libmbedcrypto.dylib;../libmbedx509.dylib;../libmbedtls.dylib" -c ./ssl_crt.pem -k ./ssl_key.pem
else
./server -l "../libmbedcrypto.so;../libmbedx509.so;../libmbedtls.so" -c ./ssl_crt.pem -k ./ssl_key.pem
fi