acl/lib_acl_cpp/samples/ssl/aio_server/t.sh
2022-08-22 22:03:38 +08:00

11 lines
416 B
Bash
Executable File

#!/bin/sh
os=$(echo `uname -s`)
if [ $os == 'Darwin' ]; then
./aio_server -d "../libmbedcrypto.dylib;../libmbedx509.dylib;../libmbedtls.dylib" -K ../ssl_key.pem -C ../ssl_crt.pem
else
./aio_server -d "../libmbedcrypto.so;../libmbedx509.so;../libmbedtls.so" -K ../ssl_key.pem -C ../ssl_crt.pem
fi
#./aio_server -d "/usr/local/lib64/libcrypto.so; /usr/local/lib64/libssl.so" -K ../ssl_key.pem -C ../ssl_crt.pem -K