summaryrefslogtreecommitdiff
path: root/libexslt/crypto.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-07-16 10:17:29 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-07-16 10:17:29 +0000
commit091028da9d9aea8993626e15ce41e9e657a0ba8f (patch)
tree094bc6e04dcc9175dfd0f88326a53575448debc6 /libexslt/crypto.c
parentcd6168c4467e61146d141d3bd315267f86de2ada (diff)
downloadlibxslt-091028da9d9aea8993626e15ce41e9e657a0ba8f.tar.gz
libxslt-091028da9d9aea8993626e15ce41e9e657a0ba8f.tar.bz2
libxslt-091028da9d9aea8993626e15ce41e9e657a0ba8f.zip
apply patch from Rob Richards to add a normal --with-crypto configure
* configure.in libexslt/crypto.c libexslt/exslt.[ch] libexslt/exsltconfig.h.in win32/configure.js: apply patch from Rob Richards to add a normal --with-crypto configure option. Daniel
Diffstat (limited to 'libexslt/crypto.c')
-rw-r--r--libexslt/crypto.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libexslt/crypto.c b/libexslt/crypto.c
index 7a6fd825..2d5f357c 100644
--- a/libexslt/crypto.c
+++ b/libexslt/crypto.c
@@ -21,6 +21,8 @@
#include "exslt.h"
+#ifdef EXSLT_CRYPTO_ENABLED
+
#define HASH_DIGEST_LENGTH 32
#define MD5_DIGEST_LENGTH 16
#define SHA1_DIGEST_LENGTH 20
@@ -731,3 +733,5 @@ exsltCryptoRegister (void) {
}
#endif /* defined(HAVE_CRYPTO) */
+
+#endif /* EXSLT_CRYPTO_ENABLED */