Skip to content

Commit

Permalink
[core] Removed duplicate lines (#2660).
Browse files Browse the repository at this point in the history
  • Loading branch information
ethouris committed Feb 13, 2023
1 parent 3ffc93f commit 7948772
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions haicrypt/cryspr.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,11 +440,6 @@ static int crysprFallback_MsEncrypt(
return(-1);
}

if (NULL == out_msg) {
/* input data too big */
return(-1);
}

switch(ctx->mode) {
case HCRYPT_CTX_MODE_AESCTR: /* Counter mode */
case HCRYPT_CTX_MODE_AESGCM:
Expand Down
1 change: 0 additions & 1 deletion srtcore/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ void srt::CUDT::construct()
m_iTsbPdDelay_ms = 0;
m_iPeerTsbPdDelay_ms = 0;
m_bPeerTsbPd = false;
m_iPeerTsbPdDelay_ms = 0;
m_bTsbPd = false;
m_bTsbPdAckWakeup = false;
m_bGroupTsbPd = false;
Expand Down

0 comments on commit 7948772

Please sign in to comment.