75f24c7cac
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14642 3c298f89-4303-0410-b956-a3cf2f4a3e73
25 lines
797 B
Diff
25 lines
797 B
Diff
diff -ruN sslsniff-0.5.orig/Makefile sslsniff-0.5/Makefile
|
|
--- sslsniff-0.5.orig/Makefile 2009-02-16 12:00:36.000000000 -0500
|
|
+++ sslsniff-0.5/Makefile 2009-02-23 11:14:22.000000000 -0500
|
|
@@ -1,4 +1,7 @@
|
|
+CC := gcc
|
|
+CFLAGS := -g -Wall
|
|
+
|
|
all:
|
|
- gcc -g -Wall -o sslsniff cache.c sslsniff.c network.c mx509.c mssl.c log.c -lcrypto -lssl
|
|
+ $(CC) $(CFLAGS) -o sslsniff cache.c sslsniff.c network.c mx509.c mssl.c log.c -lcrypto -lssl
|
|
clean:
|
|
rm sslsniff
|
|
\ No newline at end of file
|
|
diff -ruN sslsniff-0.5.orig/network.c sslsniff-0.5/network.c
|
|
--- sslsniff-0.5.orig/network.c 2009-02-16 12:00:36.000000000 -0500
|
|
+++ sslsniff-0.5/network.c 2009-02-23 10:45:37.000000000 -0500
|
|
@@ -27,6 +27,7 @@
|
|
* SUCH DAMAGE.
|
|
*/
|
|
|
|
+#include <limits.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|