Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 5 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 28
Line 7... Line 7...
7
@DPATCH@
7
@DPATCH@
8
8
9
diff -w -xdebian -ur libdkim-1.0.14/src/dkim.h libdkim-1.0.15-tk/src/dkim.h
9
diff -w -xdebian -ur libdkim-1.0.14/src/dkim.h libdkim-1.0.15-tk/src/dkim.h
10
--- libdkim-1.0.14/src/dkim.h	2007-05-03 17:53:09.000000000 +0200
10
--- libdkim-1.0.14/src/dkim.h	2007-05-03 17:53:09.000000000 +0200
11
+++ libdkim-1.0.15-tk/src/dkim.h	2007-09-28 13:08:04.000000000 +0200
11
+++ libdkim-1.0.15-tk/src/dkim.h	2007-09-28 13:08:04.000000000 +0200
12
@@ -137,6 +137,8 @@
12
@@ -138,6 +138,8 @@
13
 {
-
 
14
 	char *szSignature;
13
 	char *szSignature;
15
 	char *DNS;
14
 	char *DNS;
-
 
15
	char *szCanonicalizedData;
16
+       char *Domain;
16
+       char *Domain;
17
+       char *IdentityDomain;
17
+       char *IdentityDomain;
18
 	int nResult;
18
 	int nResult;
19
 } DKIMVerifyDetails;
19
 } DKIMVerifyDetails;
20
 
20
 
21
diff -w -xdebian -ur libdkim-1.0.14/src/dkimverify.cpp libdkim-1.0.15-tk/src/dkimverify.cpp
21
diff -w -xdebian -ur libdkim-1.0.14/src/dkimverify.cpp libdkim-1.0.15-tk/src/dkimverify.cpp
22
--- libdkim-1.0.14/src/dkimverify.cpp	2007-04-24 11:01:58.000000000 +0200
22
--- libdkim-1.0.14/src/dkimverify.cpp	2007-04-24 11:01:58.000000000 +0200
23
+++ libdkim-1.0.15-tk/src/dkimverify.cpp	2007-09-28 08:05:01.000000000 +0200
23
+++ libdkim-1.0.15-tk/src/dkimverify.cpp	2007-09-28 08:05:01.000000000 +0200
24
@@ -1428,6 +1386,10 @@
24
@@ -1508,6 +1508,10 @@
25
 		DKIMVerifyDetails d;
-
 
26
 		d.szSignature = (char*)i->Header.c_str();
25
 		d.szSignature = (char*)i->Header.c_str();
27
 		d.nResult = i->Status;
26
 		d.nResult = i->Status;
-
 
27
		d.szCanonicalizedData = (char*)i->CanonicalizedData.c_str();
28
+
28
+
29
+		d.Domain = (char*)i->Domain.c_str();
29
+		d.Domain = (char*)i->Domain.c_str();
30
+		d.IdentityDomain = i->IdentityDomain.empty()?(char*)i->IdentityDomain.c_str():(char*)i->Domain.c_str();
30
+		d.IdentityDomain = i->IdentityDomain.empty()?(char*)i->IdentityDomain.c_str():(char*)i->Domain.c_str();
31
+
31
+
32
 		Details.push_back(d);
32
 		Details.push_back(d);