X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/ddf8a9dd6bbabd3ba3716abb794ac965877405d4..6918361d84c231c8cfb60bcf3b7b8d86db18126d:/debian/extra/rc/smime-paths.rc diff --git a/debian/extra/rc/smime-paths.rc b/debian/extra/rc/smime-paths.rc index 36ebd44..ace80b8 100644 --- a/debian/extra/rc/smime-paths.rc +++ b/debian/extra/rc/smime-paths.rc @@ -14,5 +14,7 @@ set smime_sign_command="openssl smime -sign -signer %c -inkey %k -passin stdin - #set smime_sign_command="openssl smime -sign -signer %c -inkey %k -passin stdin -in %f -outform DER" set smime_decrypt_command="openssl smime -decrypt -passin stdin -inform DER -in %f -inkey %k -recip %c" set smime_verify_command="openssl smime -verify -inform DER -in %s %C -content %f" -set smime_verify_opaque_command="openssl smime -verify -inform DER -in %s %C" +set smime_verify_opaque_command="\ +openssl smime -verify -inform DER -in %s %C || \ +openssl smime -verify -inform DER -in %s -noverify 2>/dev/null"