summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrisk%netscape.com <devnull@localhost>2000-06-14 23:15:06 +0000
committerchrisk%netscape.com <devnull@localhost>2000-06-14 23:15:06 +0000
commit624d085e8ae9b1444edb9b8f506217907b559c91 (patch)
tree697981e214174596ded3d5d9358b78fa7bcde9b9
parent02573f2e4308f03769897461ef030f3017218a1d (diff)
downloadnss-hg-624d085e8ae9b1444edb9b8f506217907b559c91.tar.gz
canonicalization step adds CRs to LFs only of there are no CRs present.
-rwxr-xr-xsecurity/nss/cmd/smimetools/smime2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/cmd/smimetools/smime b/security/nss/cmd/smimetools/smime
index d70f3d358..70179c8fe 100755
--- a/security/nss/cmd/smimetools/smime
+++ b/security/nss/cmd/smimetools/smime
@@ -295,7 +295,7 @@ if (defined $opt_D) {
# if 8 bit chars present, use Content-Transfer-Encoding: quoted-printable
# otherwise, use Content-Transfer-Encoding: 7bit
#
- $mimeentity =~ s/\n/\r\n/mg;
+ $mimeentity =~ s/\r*\n/\r\n/mg;
#
# now do the wrapping