X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=acconfig.h;h=ff0332620d0845fa9c448ea669c9b3bd3630430b;hp=41fdb9956b43d24a41eeac9889eb9962e18a3d93;hb=04d33be4bd102de67bb6dba5c449e12fea0db4d2;hpb=b0a676988a8da3120e64ef0e1a4ea4c28b1511e1 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