diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index 243df6f7c..0724489e0 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -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