apps/pkcs12: Really do not perform MAC in case -nomac

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/4930)
This commit is contained in:
Dr. David von Oheimb 2020-05-11 15:49:34 +02:00
parent b84965aff0
commit 852feb3bd8
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@ int pkcs12_main(int argc, char **argv)
maciter = 1;
break;
case OPT_NOMAC:
cert_pbe = -1;
maciter = -1;
break;
case OPT_MACALG: