1 Index: ipsec-tools-0.6.7/src/racoon/var.h
2 ===================================================================
3 --- ipsec-tools-0.6.7.orig/src/racoon/var.h 2004-11-21 03:16:59.000000000 +1100
4 +++ ipsec-tools-0.6.7/src/racoon/var.h 2007-06-06 12:21:41.000000000 +1000
7 if (getnameinfo((x), sysdep_sa_len(x), (y), sizeof(y), (z), sizeof(z), \
11 strncpy((y), "(invalid)", sizeof(y)); \
14 strncpy((z), "(invalid)", sizeof(z)); \
19 if (getnameinfo((x), sysdep_sa_len(x), (y), sizeof(y), NULL, 0, \
23 strncpy((y), "(invalid)", sizeof(y)); \
26 Index: ipsec-tools-0.6.7/src/racoon/eaytest.c
27 ===================================================================
28 --- ipsec-tools-0.6.7.orig/src/racoon/eaytest.c 2005-06-29 08:38:02.000000000 +1000
29 +++ ipsec-tools-0.6.7/src/racoon/eaytest.c 2007-06-06 12:22:59.000000000 +1000
32 printf("exact match: succeed.\n");
35 + if (dnstr_w1 != NULL) {
36 asn1dn = eay_str2asn1dn(dnstr_w1, strlen(dnstr_w1));
37 if (asn1dn == NULL || asn1dn->l == asn1dn0.l)
38 errx(1, "asn1dn length wrong for wildcard 1\n");
40 printf("wildcard 1 match: succeed.\n");
44 + if (dnstr_w1 != NULL) {
45 asn1dn = eay_str2asn1dn(dnstr_w2, strlen(dnstr_w2));
46 if (asn1dn == NULL || asn1dn->l == asn1dn0.l)
47 errx(1, "asn1dn length wrong for wildcard 2\n");