Merge pull request #733 from kaleb-himes/tirtos-updates

updates for TIRTOS build following release 3.10.0
This commit is contained in:
dgarske 2017-02-01 14:47:12 -08:00 committed by GitHub
commit 16698db48f
3 changed files with 3 additions and 1 deletions

View File

@ -3850,7 +3850,7 @@ void FreeHandshakeResources(WOLFSSL* ssl)
wc_ShaFree(&ssl->hsHashes->hashSha);
#endif
#ifndef NO_SHA256
wc_Sha256Free(&ssl->hsHashes->hashSha25);
wc_Sha256Free(&ssl->hsHashes->hashSha256);
#endif
#ifdef HAVE_SECURE_RENEGOTIATION

View File

@ -41,6 +41,7 @@ var wolfSSLObjList = [
"wolfcrypt/src/sha512.c",
"wolfcrypt/src/tfm.c",
"wolfcrypt/src/wc_port.c",
"wolfcrypt/src/wolfmath.c",
"src/internal.c",
"src/io.c",

View File

@ -485,6 +485,7 @@ int wc_UnLockMutex(wolfSSL_Mutex *m)
if( Error_check( &eb ) )
{
Error_raise( &eb, Error_E_generic, "Failed to Create the semaphore.",NULL);
return BAD_MUTEX_E;
} else return 0;
}