Bug #159 ยป ipsec-tools-0.6.5.diff
ipsec-tools-0.6.5/configure 2006-04-28 13:48:34.000000000 +0100 | ||
---|---|---|
cat >>conftest.$ac_ext <<_ACEOF
|
||
/* end confdefs.h. */
|
||
#include <openssl/sha.h>
|
||
#include <openssl/opensslv.h>
|
||
/* OpenSSL 0.9.8 headers require size_t to be defined */
|
||
#if defined(OPENSSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x0090800fL)
|
||
#include <sys/types.h>
|
||
#endif
|
||
#include <openssl/sha.h>
|
||
int
|
||
main ()
|
ipsec-tools-0.6.5/src/libipsec/key_debug.c 2006-04-28 13:38:27.000000000 +0100 | ||
---|---|---|
#endif
|
||
#ifdef _KERNEL
|
||
#if defined(__FreeBSD__) && __FreeBSD__ >= 3
|
||
#if (defined(__FreeBSD__) && __FreeBSD__ >= 3) || defined(__DragonFly__)
|
||
#include "opt_inet.h"
|
||
#include "opt_inet6.h"
|
||
#include "opt_ipsec.h"
|
||
... | ... | |
m->m_pkthdr.len, m->m_pkthdr.rcvif);
|
||
}
|
||
#ifdef __FreeBSD__
|
||
#if defined(__FreeBSD__) || defined(__DragonFly__)
|
||
if (m->m_flags & M_EXT) {
|
||
printf(" m_ext{ ext_buf:%p ext_free:%p "
|
||
"ext_size:%u ext_ref:%p }\n",
|
ipsec-tools-0.6.5/src/libipsec/policy_token.c 2006-04-28 13:38:27.000000000 +0100 | ||
---|---|---|
#include "libpfkey.h"
|
||
#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__linux__)
|
||
#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__linux__)
|
||
#include "y.tab.h"
|
||
#else
|
||
#include "policy_parse.h"
|
ipsec-tools-0.6.5/src/libipsec/policy_token.l 2006-04-28 13:38:27.000000000 +0100 | ||
---|---|---|
#include "libpfkey.h"
|
||
#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__linux__)
|
||
#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__linux__)
|
||
#include "y.tab.h"
|
||
#else
|
||
#include "policy_parse.h"
|
ipsec-tools-0.6.5/src/racoon/crypto_openssl.c 2006-04-28 13:46:29.000000000 +0100 | ||
---|---|---|
#error OpenSSL version 0.9.6 or later required.
|
||
#endif
|
||
/* OpenSSL 0.9.8 headers require size_t to be defined */
|
||
#if defined(OPENSSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x0090800fL)
|
||
#include <sys/types.h>
|
||
#endif
|
||
#include <openssl/pem.h>
|
||
#include <openssl/evp.h>
|
||
#include <openssl/x509.h>
|
ipsec-tools-0.6.5/src/racoon/grabmyaddr.c 2006-04-28 13:38:27.000000000 +0100 | ||
---|---|---|
#include <sys/ioctl.h>
|
||
#include <net/if.h>
|
||
#if defined(__FreeBSD__) && __FreeBSD__ >= 3
|
||
#if (defined(__FreeBSD__) && __FreeBSD__ >= 3) || defined(__DragonFly__)
|
||
#include <net/if_var.h>
|
||
#endif
|
||
#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
||
#include <netinet/in.h>
|
||
#include <netinet6/in6_var.h>
|
||
#endif
|
ipsec-tools-0.6.5/src/racoon/gssapi.h 2006-04-28 13:38:27.000000000 +0100 | ||
---|---|---|
* POSSIBILITY OF SUCH DAMAGE.
|
||
*/
|
||
#ifdef __FreeBSD__
|
||
#if defined(__FreeBSD__) || defined(__DragonFly__)
|
||
#include "/usr/include/gssapi.h"
|
||
#else
|
||
#include <gssapi/gssapi.h>
|
ipsec-tools-0.6.5/src/racoon/isakmp.c 2006-04-28 13:38:27.000000000 +0100 | ||
---|---|---|
# define SOL_UDP 17
|
||
# endif
|
||
# endif /* __linux__ */
|
||
# if defined(__NetBSD__) || defined(__FreeBSD__)
|
||
# if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
||
# include <netinet/in.h>
|
||
# include <netinet/udp.h>
|
||
# define SOL_UDP IPPROTO_UDP
|
||
# endif /* __NetBSD__ / __FreeBSD__ */
|
||
# endif /* __NetBSD__ / __FreeBSD__ / __DragonFly__ */
|
||
#endif
|
||
static int nostate1 __P((struct ph1handle *, vchar_t *));
|
ipsec-tools-0.6.5/src/racoon/pfkey.c 2006-04-28 13:38:27.000000000 +0100 | ||
---|---|---|
# ifdef __linux__
|
||
# include <linux/udp.h>
|
||
# endif
|
||
# if defined(__NetBSD__) || defined(__FreeBSD__)
|
||
# if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
||
# include <netinet/udp.h>
|
||
# endif
|
||
#endif
|
ipsec-tools-0.6.5/src/setkey/token.c 2006-04-28 13:38:27.000000000 +0100 | ||
---|---|---|
#include <netdb.h>
|
||
#include "vchar.h"
|
||
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__linux__)
|
||
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__linux__)
|
||
#include "parse.h"
|
||
#else
|
||
#include "y.tab.h"
|
ipsec-tools-0.6.5/src/setkey/token.l 2006-04-28 13:38:27.000000000 +0100 | ||
---|---|---|
#include <netdb.h>
|
||
#include "vchar.h"
|
||
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__linux__)
|
||
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__linux__)
|
||
#include "parse.h"
|
||
#else
|
||
#include "y.tab.h"
|