Stop double quoting the protocol when sending encrypted emails
authorHamish Downer <dmishd@gmail.com>
Fri, 22 Oct 2010 15:18:10 +0000 (16:18 +0100)
committerRich Lane <rlane@club.cc.cmu.edu>
Wed, 3 Nov 2010 21:07:48 +0000 (14:07 -0700)
commitbc54b05853fb885c87d404db7e5efb5b3ffd573e
treea346b518791b3d2dbb00af1645d90d6974998c22
parentd884dd47cf8b4e9d14159f3fb1dbc3191cac4f6f
Stop double quoting the protocol when sending encrypted emails

It was the case that when encrypting emails, the content-type
header line would look like:
Content-Type: multipart/encrypted; boundary="=-1287680456-54319-281-6673-1-="; protocol=""application/pgp-encrypted""
It appears that rmail adds the extra quotes, so this change
makes the protocol unquoted to start with, so we end up with
correct quoting.
lib/sup/crypto.rb