• Colin Walters's avatar
    2004-08-29 Colin Walters <walters@verbum.org> · e5366de5
    Colin Walters authored
    	* configure.in: Generate config.h.
    
    	* configure.in: Dump dependency on OpenSSL; we can't
    	use it since this package is GPL:
    	http://www.gnome.org/~markmc/openssl-and-the-gpl.html
    	Instead, check for libgcrypt, use it if available,
    	otherwise use included MD5 code.
    
    	* src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
    	Suck in from gnome-keyring, munge a bit.
    
    	* src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
    	gnome-keyring-md5.h gnome-keyring-md5.c.
    	(NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
    
    	* src/NetworkManagerWireless.c (nm_md5): New function, uses
    	libgcrypt or included gnome-keyring md5 bits.
    	(nm_wireless_128bit_key_from_passphrase): Use nm_md5.
    
    
    git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@101 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
    e5366de5