mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-05-04 02:20:49 +02:00
Cleanup of the test code that looks for the WolfSSL root directory. Now it tries to open the certs/ntru-cert.pem file in each directory up (limited to 5) until it opens it.
This commit is contained in:
+1
-4
@@ -60,10 +60,7 @@ int unit_test(int argc, char** argv)
|
||||
#endif /* HAVE_CAVIUM */
|
||||
|
||||
#ifndef WOLFSSL_TIRTOS
|
||||
if (CurrentDir("tests") || CurrentDir("_build"))
|
||||
ChangeDirBack(1);
|
||||
else if (CurrentDir("Debug") || CurrentDir("Release"))
|
||||
ChangeDirBack(3);
|
||||
ChangeToWolfRoot();
|
||||
#endif
|
||||
|
||||
ApiTest();
|
||||
|
||||
Reference in New Issue
Block a user