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

@@ -908,12 +908,7 @@ THREAD_RETURN CYASSL_THREAD server_test(void* args)
#if defined(DEBUG_CYASSL) && !defined(WOLFSSL_MDK_SHELL)
CyaSSL_Debugging_ON();
#endif
if (CurrentDir("_build"))
ChangeDirBack(1);
else if (CurrentDir("server"))
ChangeDirBack(2);
else if (CurrentDir("Debug") || CurrentDir("Release"))
ChangeDirBack(3);
ChangeToWolfRoot();
#ifdef HAVE_STACK_SIZE
StackSizeCheck(&args, server_test);