1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/security/skip/files/patch-cb

16 lines
528 B
Plaintext

diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/keymgrd/certreq.C work.new/skip/keymgrd/certreq.C
--- skipsrc-1.0.orig/skip/keymgrd/certreq.C Fri Oct 25 13:12:47 1996
+++ work.new/skip/keymgrd/certreq.C Tue Jan 25 12:56:21 2000
@@ -120,7 +120,11 @@
FD_SET(sock,&f);
n=select(sock+1,&f,NULL,NULL,&tv);
if (n > 0) {
+#if __FreeBSD_version < 400013
int fromlen;
+#else
+ socklen_t fromlen;
+#endif
fromlen=sizeof(from);
n=recvfrom(sock, (char *)buf,sizeof(buf),0,
(sockaddr *)&from,&fromlen);