Remove pointless warning on pkcs12 import

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21107)
This commit is contained in:
Dmitry Belyavskiy 2023-06-01 17:49:30 +02:00
parent 26baecb28c
commit 4c56539cb3

View File

@ -432,7 +432,7 @@ int pkcs12_main(int argc, char **argv)
WARN_NO_EXPORT("nomaciter");
if (cert_pbe == -1 && maciter == -1)
WARN_NO_EXPORT("nomac");
if (macsaltlen != 0)
if (macsaltlen != PKCS12_SALT_LEN)
WARN_NO_EXPORT("macsaltlen");
}
#ifndef OPENSSL_NO_DES