diff options
author | Alexander Zangerl <az@snafu.priv.at> | 2014-07-15 10:55:55 +0000 |
---|---|---|
committer | Alexander Zangerl <az@snafu.priv.at> | 2014-07-15 10:55:55 +0000 |
commit | c19508f76bd77372b1dfcce62f08c46fc995eebf (patch) | |
tree | 5e87e81e8c2315ed3416bdb744eca7dd051a1111 | |
parent | 16e9621fd6e1daf845bacbd1002bde8f2c7655e3 (diff) | |
download | kuvert-c19508f76bd77372b1dfcce62f08c46fc995eebf.tar.gz kuvert-c19508f76bd77372b1dfcce62f08c46fc995eebf.tar.bz2 kuvert-c19508f76bd77372b1dfcce62f08c46fc995eebf.tar.xz kuvert-c19508f76bd77372b1dfcce62f08c46fc995eebf.zip |
fixed sign_encrypt reporting of micalg for the enc+sign case
-rwxr-xr-x | kuvert | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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", |