winlin

refine code, add install root message

@@ -111,5 +111,6 @@ echo "" @@ -111,5 +111,6 @@ echo ""
111 echo "see: https://github.com/winlinvip/simple-rtmp-server/wiki/LinuxService" 111 echo "see: https://github.com/winlinvip/simple-rtmp-server/wiki/LinuxService"
112 echo "install success, you can:" 112 echo "install success, you can:"
113 echo -e "${GREEN} sudo /etc/init.d/srs start${BLACK}" 113 echo -e "${GREEN} sudo /etc/init.d/srs start${BLACK}"
  114 +echo "srs root is ${INSTALL}"
114 115
115 -exit 0  
  116 +exit 0
@@ -216,8 +216,6 @@ namespace _srs_internal @@ -216,8 +216,6 @@ namespace _srs_internal
216 { 216 {
217 int ret = ERROR_SUCCESS; 217 int ret = ERROR_SUCCESS;
218 218
219 - int32_t bits_count = 1024;  
220 -  
221 // create DH and copy the 128bytes public key 219 // create DH and copy the 128bytes public key
222 if ((ret = __openssl_copy_key(pdh, public_key, ppk_size)) != ERROR_SUCCESS) { 220 if ((ret = __openssl_copy_key(pdh, public_key, ppk_size)) != ERROR_SUCCESS) {
223 return ret; 221 return ret;