Refactor the cert renewal scripts with error handling

Portability updates
This commit is contained in:
kaleb-himes
2018-09-19 14:03:10 -06:00
parent 085daa78cd
commit 4f6ee556dc
8 changed files with 593 additions and 269 deletions

View File

@@ -1110,7 +1110,7 @@ THREAD_RETURN WOLFSSL_THREAD server_test(void* args)
#ifdef HAVE_NTRU
if (useNtruKey) {
if (SSL_CTX_use_NTRUPrivateKey_file(ctx, ourKey)
if (wolfSSL_CTX_use_NTRUPrivateKey_file(ctx, ourKey)
!= WOLFSSL_SUCCESS)
err_sys_ex(runWithErrors, "can't load ntru key file, "
"Please run from wolfSSL home dir");