mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine code, add install root message
This commit is contained in:
parent
0cd2b13e2e
commit
aefcaa9683
2 changed files with 2 additions and 3 deletions
|
@ -111,5 +111,6 @@ echo ""
|
||||||
echo "see: https://github.com/winlinvip/simple-rtmp-server/wiki/LinuxService"
|
echo "see: https://github.com/winlinvip/simple-rtmp-server/wiki/LinuxService"
|
||||||
echo "install success, you can:"
|
echo "install success, you can:"
|
||||||
echo -e "${GREEN} sudo /etc/init.d/srs start${BLACK}"
|
echo -e "${GREEN} sudo /etc/init.d/srs start${BLACK}"
|
||||||
|
echo "srs root is ${INSTALL}"
|
||||||
|
|
||||||
exit 0
|
exit 0
|
|
@ -216,8 +216,6 @@ namespace _srs_internal
|
||||||
{
|
{
|
||||||
int ret = ERROR_SUCCESS;
|
int ret = ERROR_SUCCESS;
|
||||||
|
|
||||||
int32_t bits_count = 1024;
|
|
||||||
|
|
||||||
// create DH and copy the 128bytes public key
|
// create DH and copy the 128bytes public key
|
||||||
if ((ret = __openssl_copy_key(pdh, public_key, ppk_size)) != ERROR_SUCCESS) {
|
if ((ret = __openssl_copy_key(pdh, public_key, ppk_size)) != ERROR_SUCCESS) {
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue