aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-21 00:04:12 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-21 00:04:12 +0100
commita366cca62d3a55db4f12a94584f7e7f8fa00db02 (patch)
treeb870cec2e826793beb9257e43e77b7b409a33add /configure
parent801b90b3e76f6eed7027f46a7d11e3d3fe0e04e9 (diff)
Now including a nice and compact 3DES implementation done by Christophe
Devine. OpenSSL exports nice cipher functions, but GnuTLS only just started doing this in 2.10 or so (not even in Debian Sid yet). So instead of adding a whole library for encrypting 72 bytes of data, let's have a built-in 3DES implementation for a while..
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 9b77604c..b0035438 100755
--- a/configure
+++ b/configure
@@ -422,6 +422,12 @@ if [ "$ret" = "0" ]; then
exit 1
fi;
+if [ "$msn" = "1" -a "$ssl" != "openssl" ]; then
+ # Needed for MSN only. OpenSSL exports nice cipher functions already,
+ # others don't, so use our own 3des code.
+ echo 'DES=des.o' >> Makefile.settings
+fi
+
echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings
if detect_resolv_dynamic || detect_resolv_static; then