Fix Bug #969206
This commit is contained in:
+1
-1
@@ -445,7 +445,7 @@ class DKIM(object):
|
||||
|
||||
sig_value = fold(b"; ".join(b"=".join(x) for x in sigfields))
|
||||
dkim_header = (b'DKIM-Signature', b' ' + sig_value)
|
||||
h = hashlib.sha256()
|
||||
h = hasher()
|
||||
sig = dict(sigfields)
|
||||
self.signed_headers = hash_headers(
|
||||
h, canon_policy, headers, include_headers, [dkim_header],sig)
|
||||
|
||||
@@ -44,6 +44,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/lib/%{__python}/site-packages/dkim/__main__.pyo
|
||||
|
||||
%changelog
|
||||
* Sat Apr 21 2012 Stuart Gathman <stuart@bmsi.com> 0.5.2-1
|
||||
- Fix sha1 hash, Bug #969206
|
||||
- Fix NoAnswer exception using dnspython
|
||||
- Fix typos reporting ValidationError and DKIMException
|
||||
|
||||
* Fri Feb 03 2012 Stuart Gathman <stuart@bmsi.com> 0.5.1-1
|
||||
- performance patch from https://launchpad.net/~petri Petri Lehtinen
|
||||
- save parsed signatures in DKIM object
|
||||
|
||||
Reference in New Issue
Block a user