Merge pull request #170 from dgarske/master

Fixes initialization of the Crypto HW protection, which could leak a …
This commit is contained in:
toddouska
2015-10-29 13:56:18 -07:00
8 changed files with 53 additions and 123 deletions

View File

@@ -1263,12 +1263,7 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
#if defined(DEBUG_WOLFSSL) && !defined(WOLFSSL_MDK_SHELL) && !defined(STACK_TRAP)
wolfSSL_Debugging_ON();
#endif
if (CurrentDir("_build"))
ChangeDirBack(1);
else if (CurrentDir("client"))
ChangeDirBack(2);
else if (CurrentDir("Debug") || CurrentDir("Release"))
ChangeDirBack(3);
ChangeToWolfRoot();
#ifdef HAVE_STACK_SIZE
StackSizeCheck(&args, client_test);