summaryrefslogtreecommitdiff
path: root/devel/uclmmbase/files/patch-test
blob: 0602a47a3f99953604fe36f52a5b81fbd1b4f7dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- tests/Makefile.in	Fri Mar  9 11:39:57 2001
+++ tests/Makefile.in	Thu Sep 23 16:40:19 2004
@@ -10,5 +10,5 @@
 DEFS   = @DEFS@
 CFLAGS = -I$(COMMONSRC) @CFLAGS@ $(DEFS) 
-LIBS   = -L../src @LIBS@ 
+LIBS   = -L../src @LIBS@ -L${OPENSSLLIB}/lib -lssl -lcrypto
 CC     = @CC@
 
--- tests/test_net_udp.c	Sat Oct 28 06:36:08 2000
+++ tests/test_net_udp.c	Tue Apr 12 12:45:44 2005
@@ -116,4 +116,8 @@
 	udp_exit(s1);
 
+	if (hname == NULL) {
+		printf("fail: cannot resolve our name\n");
+		return;
+	}
 	/**********************************************************************/
 	/* Now we send a packet to ourselves via our real network address...  */