You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
833 B

Index: base/pcap-snoop.c
--- base/pcap-snoop.c.orig 2002-09-09 23:02:58 +0200
+++ base/pcap-snoop.c 2006-10-24 15:10:20 +0200
@@ -49,7 +49,7 @@
#include <pcap.h>
#include <unistd.h>
-#include <net/bpf.h>
+#include <pcap-bpf.h>
#ifndef _WIN32
#include <sys/param.h>
#endif
@@ -148,7 +148,7 @@
/* if vlans, push past VLAN header (4 bytes) */
if(type==ETHERTYPE_8021Q) {
- type=ntohs(*(u_int16_t *)(data + 2));
+ type=ntohs(*(uint16_t *)(data + 2));
data+=4;
len+=4;
Index: ssl/ssldecode.c
--- ssl/ssldecode.c.orig 2002-08-17 03:33:17 +0200
+++ ssl/ssldecode.c 2006-10-24 15:10:20 +0200
@@ -52,6 +52,7 @@
#include <openssl/hmac.h>
#include <openssl/evp.h>
#include <openssl/x509v3.h>
+#include <openssl/md5.h>
#endif
#include "ssldecode.h"
#include "ssl_rec.h"