Fix NTRU + QSH build

This commit is contained in:
kaleb-himes
2020-10-08 09:13:00 -06:00
parent 4f6c1db9a2
commit d9eaeb4a3b

View File

@@ -13119,7 +13119,7 @@ static int rsa_test(void)
#ifdef WOLFSSL_SMALL_STACK #ifdef WOLFSSL_SMALL_STACK
RsaKey *caKey = (RsaKey *)XMALLOC(sizeof *caKey, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); RsaKey *caKey = (RsaKey *)XMALLOC(sizeof *caKey, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
#else #else
RsaKey caKey_buf, caKey = &caKey_buf; RsaKey caKey_buf, *caKey = &caKey_buf;
#endif #endif
#endif #endif
#if !defined(NO_ASN) || !defined(WOLFSSL_RSA_PUBLIC_ONLY) \ #if !defined(NO_ASN) || !defined(WOLFSSL_RSA_PUBLIC_ONLY) \