forked from wolfSSL/wolfssl
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
|
#define HAVE_PQC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_PQC) && !defined(HAVE_LIBOQS)
|
||||||
|
#error "You must have a post-quantum cryptography implementation to use PQC."
|
||||||
|
#endif
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------
|
/* ---------------------------------------------------------------------------
|
||||||
* Depricated Algorithm Handling
|
* Depricated Algorithm Handling
|
||||||
* Unless allowed via a build macro, disable support
|
* Unless allowed via a build macro, disable support
|
||||||
|
Reference in New Issue
Block a user