- Fix linesep setting in arcsign script (LP: #1838262) (Thanks to Gowtham

Gopalakrishnan for the report and the patch)
This commit is contained in:
Scott Kitterman committed 2019-08-04 17:51:27 -04:00
1 parent 9904db4e5c
commit 0019bad372
4 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ def main():
#try:
sig = dkim.arc_sign(message, selector, domain, open(privatekeyfile, "rb").read(),
srv_id, cv, dkim.util.get_linesep(message))
srv_id, cv, linesep=dkim.util.get_linesep(message))
for line in sig:
sys.stdout.write(line)
sys.stdout.write(message)