diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2023-06-01 17:49:30 +0200 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2023-06-03 16:15:33 +0200 |
commit | 4c56539cb338f1583289f93379ee254b45b66568 (patch) | |
tree | 0c79e359ce1b6c1ef8061c0b4e420107e1d6c1f3 /apps | |
parent | 26baecb28ce461696966dac9ac889629db0b3b96 (diff) | |
download | openssl-4c56539cb338f1583289f93379ee254b45b66568.tar.gz |
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)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pkcs12.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pkcs12.c b/apps/pkcs12.c index b8efb536dd..823d97085d 100644 --- a/apps/pkcs12.c +++ b/apps/pkcs12.c @@ -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 |