From c294489368ba3df3fd317a77d29b0935a056ac79 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Tue, 20 Mar 2007 05:51:28 +0000 Subject: [PATCH] Merge into 'trunk' r53678@pinglin (orig r1306): robert | 2003-09-03 22:14:35 -0400 From: "Paul J. Schinder" To: rspier@cpan.org Subject: Small bug in Mail::GnuPG Date: Wed, 3 Sep 2003 17:56:21 -0400 GnuPG::Interface has no sign_encrypt thingy. --- GnuPG.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GnuPG.pm b/GnuPG.pm index 72afaec..22ba6ad 100644 --- a/GnuPG.pm +++ b/GnuPG.pm @@ -801,7 +801,7 @@ sub _mime_encrypt { if ($sign) { $gnupg->sign_and_encrypt( handles => $handles ); } else { - $gnupg->sign_encrypt( handles => $handles ); + $gnupg->encrypt( handles => $handles ); } };