Skip to content

Commit

Permalink
Remove pointless warning on pkcs12 import
Browse files Browse the repository at this point in the history
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from openssl/openssl#21107)
  • Loading branch information
beldmit authored and MrE-Fog committed Jun 4, 2023
1 parent ec91fb5 commit e52fe3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/pkcs12.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e52fe3d

Please sign in to comment.