- 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
2019-08-04 17:51:27 -04:00
parent 9904db4e5c
commit 0019bad372
4 changed files with 7 additions and 3 deletions
+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)