obs-outputs: Remove unused variable
parent
baa559813c
commit
5f62cd153b
|
@ -251,7 +251,7 @@ failed:
|
|||
}
|
||||
|
||||
static MDH *
|
||||
DHInit(RTMP *r, int nKeyBits)
|
||||
DHInit(int nKeyBits)
|
||||
{
|
||||
size_t res;
|
||||
MDH *dh = MDH_new();
|
||||
|
|
|
@ -879,7 +879,7 @@ HandShake(RTMP * r, int FP9HandShake)
|
|||
if (encrypted)
|
||||
{
|
||||
/* generate Diffie-Hellmann parameters */
|
||||
r->Link.dh = DHInit(r, 1024);
|
||||
r->Link.dh = DHInit(1024);
|
||||
if (!r->Link.dh)
|
||||
{
|
||||
RTMP_Log(RTMP_LOGERROR, "%s: Couldn't initialize Diffie-Hellmann!",
|
||||
|
@ -1271,7 +1271,7 @@ SHandShake(RTMP * r)
|
|||
if (encrypted)
|
||||
{
|
||||
/* generate Diffie-Hellmann parameters */
|
||||
r->Link.dh = DHInit(r, 1024);
|
||||
r->Link.dh = DHInit(1024);
|
||||
if (!r->Link.dh)
|
||||
{
|
||||
RTMP_Log(RTMP_LOGERROR, "%s: Couldn't initialize Diffie-Hellmann!",
|
||||
|
|
Loading…
Reference in New Issue