acl/lib_acl_cpp/samples/ssl/https_client/t.sh

13 lines
477 B
Bash
Raw Normal View History

2020-01-05 10:37:09 +08:00
#!/bin/sh
os=$(echo `uname -s`)
if [ $os == 'Darwin' ]; then
./https_client -f ../libmbedtls_all.dylib -s www.sina.com.cn:443 -S
./https_client -f ../libmbedtls_all.dylib -s www.baidu.com:443 -S
./https_client -f ../libmbedtls_all.dylib -s echo.websocket.org:443 -S
else
./https_client -f ../libmbedtls_all.so -s www.sina.com.cn:443 -S
./https_client -f ../libmbedtls_all.so -s www.baidu.com:443 -S
./https_client -f ../libmbedtls_all.so -s echo.websocket.org:443 -S
fi