[mw-devel] MW3 r1258 - trunk/src

welshbyte at sucs.org welshbyte at sucs.org
Thu Sep 6 22:00:19 BST 2012


Author: welshbyte
Date: 2012-09-06 22:00:19 +0100 (Thu, 06 Sep 2012)
New Revision: 1258

Modified:
   trunk/src/Makefile
   trunk/src/log.c
Log:
Use libgnutls to provide MD5 instead of libssl


Modified: trunk/src/Makefile
===================================================================
--- trunk/src/Makefile	2012-05-25 23:18:29 UTC (rev 1257)
+++ trunk/src/Makefile	2012-09-06 21:00:19 UTC (rev 1258)
@@ -13,7 +13,7 @@
 # cflags for standard 'cc' compiler
 CFLAGS+= -Wall -pedantic -fpie -std=gnu99 -D_GNU_SOURCE
 LDFLAGS+= -pie
-LDLIBS+= -lreadline -ltermcap -lcrypt -l$(JSLIB) -lsqlite3 -lcurl -lpthread -lcrypto
+LDLIBS+= -lreadline -ltermcap -lcrypt -l$(JSLIB) -lsqlite3 -lcurl -lpthread -lgnutls-openssl
 
 # info strings, do not edit.
 DEFS:= -DBUILD_DATE=\"$(shell date +%Y%m%d)\"

Modified: trunk/src/log.c
===================================================================
--- trunk/src/log.c	2012-05-25 23:18:29 UTC (rev 1257)
+++ trunk/src/log.c	2012-09-06 21:00:19 UTC (rev 1258)
@@ -11,7 +11,7 @@
 #include <regex.h>
 #include <pthread.h>
 #include <sqlite3.h>
-#include <openssl/md5.h>
+#include <gnutls/openssl.h>
 #include <curl/curl.h>
 
 #include "bb.h"




More information about the mw-devel mailing list