fix warning with secure-renegotiation build and error with ntru build

This commit is contained in:
Jacob Barthelmeh
2018-12-19 15:47:43 -07:00
parent 165a80d02d
commit 48c267dda8
2 changed files with 4 additions and 0 deletions

View File

@ -2122,6 +2122,9 @@ exit:
(void) ourDhParam;
(void) ourCert;
(void) useX25519;
#ifdef HAVE_SECURE_RENEGOTIATION
(void) forceScr;
#endif
#ifndef WOLFSSL_TIRTOS
return 0;
#endif

View File

@ -4587,6 +4587,7 @@ void bench_ntruKeyGen(void)
word16 ntruBits = 128;
word16 type = 0;
word32 ret;
const char**desc = bench_desc_words[lng_index];
DRBG_HANDLE drbg;
static uint8_t const pers_str[] = {