Don't #include OpenSSL headers when compiling without OpenSSL.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 4 Jul 2015 15:18:40 +0000 (17:18 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 4 Jul 2015 15:34:31 +0000 (17:34 +0200)
src/nolegacy/crypto.c

index 96e4dda2f6da06ebf93145e0fc10db870fed0459..f1113b466572a80cdfb5ccc347f55384a9670b21 100644 (file)
 
 #include "../system.h"
 
-#include <openssl/rand.h>
-#include <openssl/evp.h>
-#include <openssl/engine.h>
-
 #include "../crypto.h"
 
 #ifndef HAVE_MINGW