diff --git a/trunk/scripts/install.sh b/trunk/scripts/install.sh index 0baece4be..289475cfd 100755 --- a/trunk/scripts/install.sh +++ b/trunk/scripts/install.sh @@ -111,5 +111,6 @@ echo "" echo "see: https://github.com/winlinvip/simple-rtmp-server/wiki/LinuxService" echo "install success, you can:" echo -e "${GREEN} sudo /etc/init.d/srs start${BLACK}" +echo "srs root is ${INSTALL}" -exit 0 \ No newline at end of file +exit 0 diff --git a/trunk/src/rtmp/srs_protocol_handshake.cpp b/trunk/src/rtmp/srs_protocol_handshake.cpp index af0d75472..59914e5ac 100644 --- a/trunk/src/rtmp/srs_protocol_handshake.cpp +++ b/trunk/src/rtmp/srs_protocol_handshake.cpp @@ -216,8 +216,6 @@ namespace _srs_internal { int ret = ERROR_SUCCESS; - int32_t bits_count = 1024; - // create DH and copy the 128bytes public key if ((ret = __openssl_copy_key(pdh, public_key, ppk_size)) != ERROR_SUCCESS) { return ret;