summaryrefslogtreecommitdiffstats
path: root/crypto_openssl.c
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-10-24 10:46:01 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-24 12:35:51 +0200
commit31ea2ee4ca642a4d8bbdac3dadb44eca11f52e35 (patch)
tree0998f1d80063a45ceedc7d1587251ca6ea28bd45 /crypto_openssl.c
parent7c785a27bfe5267ee4aac12fe6d0a24c42e388d6 (diff)
downloadopenvpn-31ea2ee4ca642a4d8bbdac3dadb44eca11f52e35.tar.gz
openvpn-31ea2ee4ca642a4d8bbdac3dadb44eca11f52e35.tar.xz
openvpn-31ea2ee4ca642a4d8bbdac3dadb44eca11f52e35.zip
Fixed disabling crypto and SSL
Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'crypto_openssl.c')
-rw-r--r--crypto_openssl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto_openssl.c b/crypto_openssl.c
index 7250782..b1fd145 100644
--- a/crypto_openssl.c
+++ b/crypto_openssl.c
@@ -29,6 +29,8 @@
#include "syshead.h"
+#if defined(USE_CRYPTO) && defined(USE_OPENSSL)
+
#include "basic.h"
#include "buffer.h"
#include "integer.h"
@@ -789,3 +791,5 @@ hmac_ctx_final (HMAC_CTX *ctx, uint8_t *dst)
HMAC_Final (ctx, dst, &in_hmac_len);
}
+
+#endif /* USE_CRYPTO && USE_OPENSSL */