Skip to content

Commit

Permalink
merge two loops
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn committed May 18, 2011
1 parent b519c71 commit 393e992
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/dkim/signed_mail.rb
Expand Up @@ -81,10 +81,7 @@ def dkim_header(b=nil)
end
def canonical_header
headers = signed_headers.map do |key|
@headers[key]
end
headers.map do |header|
header.to_s(header_canonicalization) + "\r\n"
@headers[key].to_s(header_canonicalization) + "\r\n"
end.join
end
def canonical_body
Expand Down

0 comments on commit 393e992

Please sign in to comment.