mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Add error for case of user defining HAVE_PQC without HAVE_LIBOQS.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user