summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-03-13 15:09:17 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-03-13 15:09:17 +0100
commite715379e49483f8200abec5bc7ff48f70d73a0cf (patch)
tree8ffce5c4787ff51f6101f6995737530a71ea3f93 /src/fastd.c
parent45da9c9f296215a4d9ff77db0e6d48bda105ddee (diff)
downloadfastd-e715379e49483f8200abec5bc7ff48f70d73a0cf.tar
fastd-e715379e49483f8200abec5bc7ff48f70d73a0cf.zip
Rename USE_LIBSODIUM and USE_OPENSSL cmake flags to ENABLE_LIBSODIUM and ENABLE_OPENSSL
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fastd.c b/src/fastd.c
index 1f80939..58237b1 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -45,7 +45,7 @@
#include <sodium/core.h>
#endif
-#ifdef USE_OPENSSL
+#ifdef ENABLE_OPENSSL
#include <openssl/conf.h>
#include <openssl/evp.h>
#include <openssl/err.h>
@@ -910,7 +910,7 @@ int main(int argc, char *argv[]) {
sodium_init();
#endif
-#ifdef USE_OPENSSL
+#ifdef ENABLE_OPENSSL
ERR_load_crypto_strings();
OpenSSL_add_all_algorithms();
OPENSSL_config(NULL);
@@ -1011,7 +1011,7 @@ int main(int argc, char *argv[]) {
free(ctx.eth_addr);
free(ctx.ifname);
-#ifdef USE_OPENSSL
+#ifdef ENABLE_OPENSSL
CONF_modules_free();
EVP_cleanup();
ERR_free_strings();