Skip to content

Commit 221f449

Browse files
committed
Get around mac os unused label error
1 parent 29ee9a7 commit 221f449

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/source/Crypto/Dtls_openssl.c

+4
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,13 @@ STATUS md5DigestCalculation(PBYTE inputStringBuff, UINT64 length, PBYTE outputBu
6363
#if (OPENSSL_VERSION_NUMBER >= 0x30000000L)
6464
EVP_MD_CTX_free(mdctx);
6565
EVP_MD_free((EVP_MD*) md);
66+
// Adding else to get around Mac unused label error
67+
#else
68+
retStatus = STATUS_SUCCESS;
6669
#endif
6770
return retStatus;
6871
}
72+
6973
STATUS dtlsTransmissionTimerCallback(UINT32 timerID, UINT64 currentTime, UINT64 customData)
7074
{
7175
UNUSED_PARAM(timerID);

0 commit comments

Comments
 (0)