acl/lib_acl_cpp/samples/ssl/client/t.sh
2024-03-30 12:39:40 +08:00

10 lines
332 B
Bash
Executable File

#!/bin/sh
os=$(echo `uname -s`)
if [ $os == "Darwin" ]; then
./client -s "127.0.0.1|2443" -l "/usr/local/lib64/libcrypto.dylib;/usr/local/lib64/libssl.dylib" -c 1 -n 1
elif [ $os == "Linux" ]; then
./client -s "127.0.0.1|2443" -l "/usr/local/lib64/libcrypto.so;/usr/local/lib64/libssl.so" -c 1 -n 1
else
echo "unknown os=$os"
fi