Changeset a366cca


Ignore:
Timestamp:
2010-08-20T23:04:12Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
327af51
Parents:
801b90b
Message:

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..

Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    r801b90b ra366cca  
    423423fi;
    424424
     425if [ "$msn" = "1" -a "$ssl" != "openssl" ]; then
     426        # Needed for MSN only. OpenSSL exports nice cipher functions already,
     427        # others don't, so use our own 3des code.
     428        echo 'DES=des.o' >> Makefile.settings
     429fi
     430
    425431echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings
    426432
  • lib/Makefile

    r801b90b ra366cca  
    1313
    1414# [SH] Program variables
    15 objects = arc.o base64.o $(EVENT_HANDLER) ftutil.o http_client.o ini.o md5.o misc.o oauth.o proxy.o sha1.o $(SSL_CLIENT) url.o xmltree.o
     15objects = arc.o base64.o $(DES) $(EVENT_HANDLER) ftutil.o http_client.o ini.o md5.o misc.o oauth.o proxy.o sha1.o $(SSL_CLIENT) url.o xmltree.o
    1616
    1717LFLAGS += -r
Note: See TracChangeset for help on using the changeset viewer.