summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Zangerl <az@snafu.priv.at>2014-07-15 10:55:55 +0000
committerAlexander Zangerl <az@snafu.priv.at>2014-07-15 10:55:55 +0000
commitc19508f76bd77372b1dfcce62f08c46fc995eebf (patch)
tree5e87e81e8c2315ed3416bdb744eca7dd051a1111
parent16e9621fd6e1daf845bacbd1002bde8f2c7655e3 (diff)
downloadkuvert-c19508f76bd77372b1dfcce62f08c46fc995eebf.tar.gz
kuvert-c19508f76bd77372b1dfcce62f08c46fc995eebf.tar.bz2
kuvert-c19508f76bd77372b1dfcce62f08c46fc995eebf.zip
fixed sign_encrypt reporting of micalg for the enc+sign case
-rwxr-xr-xkuvert4
1 files changed, 2 insertions, 2 deletions
diff --git a/kuvert b/kuvert
index 5b8f94e..deda99b 100755
--- a/kuvert
+++ b/kuvert
@@ -19,7 +19,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
-# $Id: kuvert,v 2.30 2014/01/29 11:31:35 az Exp az $
+# $Id: kuvert,v 2.31 2014/07/15 10:39:21 az Exp az $
#--
use strict;
@@ -364,7 +364,7 @@ sub crypt_send
system($cmd); # ignore the flushing result; best effort only
}
}
- return @res[1..$#res] if (@res || $res[0]); # fatal error: give up
+ return @res[1..$#res] if ($res[0]); # fatal error: give up
# attach the encrypted data
$newent->attach(Type => "application/octet-stream",