obs-outputs: Remove unused variable

master
Richard Stanway 2020-01-25 19:25:02 +01:00
parent baa559813c
commit 5f62cd153b
2 changed files with 3 additions and 3 deletions

View File

@ -251,7 +251,7 @@ failed:
}
static MDH *
DHInit(RTMP *r, int nKeyBits)
DHInit(int nKeyBits)
{
size_t res;
MDH *dh = MDH_new();

View File

@ -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!",