Add error for case of user defining HAVE_PQC without HAVE_LIBOQS.

This commit is contained in:
Anthony Hu
2021-12-20 12:42:09 -05:00
parent 7d4c13b9a4
commit 79f6301521

View File

@@ -2591,6 +2591,10 @@ extern void uITRON4_free(void *p) ;
#define HAVE_PQC
#endif
#if defined(HAVE_PQC) && !defined(HAVE_LIBOQS)
#error "You must have a post-quantum cryptography implementation to use PQC."
#endif
/* ---------------------------------------------------------------------------
* Depricated Algorithm Handling
* Unless allowed via a build macro, disable support