acl/lib_acl_cpp/samples/aio/aio_server_ssl/t.sh
2020-01-06 15:29:03 +08:00

9 lines
343 B
Bash
Executable File

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