summaryrefslogtreecommitdiff
path: root/libextra/gnutls_openssl.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-10-26 10:02:27 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-10-26 10:02:27 +0000
commitc71080a631d28466d76a1ee08ee46512de982732 (patch)
tree23908167168fa56e220310cdf0159e55da53eb28 /libextra/gnutls_openssl.c
parent3b1fe6f8c119d65307557f9e0f7a7c11be639353 (diff)
downloadgnutls-c71080a631d28466d76a1ee08ee46512de982732.tar.gz
added configure option to disable the openssl compatibility layer.
Diffstat (limited to 'libextra/gnutls_openssl.c')
-rw-r--r--libextra/gnutls_openssl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libextra/gnutls_openssl.c b/libextra/gnutls_openssl.c
index 1c6449cc1c..0f034addae 100644
--- a/libextra/gnutls_openssl.c
+++ b/libextra/gnutls_openssl.c
@@ -16,6 +16,10 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
+#ifdef ENABLE_OPENSSL
+
#include <gnutls/gnutls.h>
#include <gcrypt.h>
#include <stdio.h>
@@ -965,3 +969,5 @@ unsigned char *RIPEMD160(const unsigned char *buf, unsigned long len,
return md;
}
+
+#endif