X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=acconfig.h;h=ff0332620d0845fa9c448ea669c9b3bd3630430b;hp=41fdb9956b43d24a41eeac9889eb9962e18a3d93;hb=efa5148bc76effb440d807d653dda02de050fde0;hpb=462ab530e546f5732dfd51134751da6f6910d679 diff --git a/acconfig.h b/acconfig.h index 41fdb995..ff033262 100644 --- a/acconfig.h +++ b/acconfig.h @@ -75,3 +75,17 @@ /* Define to enable use of old SSLeay_add_all_algorithms() function */ #undef HAVE_SSLEAY_ADD_ALL_ALGORITHMS + +/* Define to 1 if you want to include GCRYPT support */ +#undef USE_GCRYPT + +/* Define to 1 if you want to include OpenSSL support */ +#undef USE_OPENSSL + +#if defined(USE_GCRYPT) && defined(USE_OPENSSL) +# error You can only define one of USE_GCRYPT and USE_OPENSSL +#endif + +#if !defined(USE_GCRYPT) && !defined(USE_OPENSSL) +# error You must define exactly one of USE_GCRYPT and USE_OPENSSL +#endif