]> git.ipfire.org Git - thirdparty/openssl.git/commit
passwd.c: use the actual ROUNDS_DEFAULT macro
authorDisconnect3d <dominik.b.czarnota@gmail.com>
Thu, 11 Feb 2021 19:00:40 +0000 (20:00 +0100)
committerPauli <ppzgs1@gmail.com>
Sat, 13 Feb 2021 03:45:26 +0000 (13:45 +1000)
commitbae39163409ac3b8a1c579c2bcfbdae35370a133
tree29e54a48821314b361fc13d1501c00d574d5017f
parent70f23648827c2c8e6386e483c557e6e935b3103f
passwd.c: use the actual ROUNDS_DEFAULT macro

Before this commit, the `ROUNDS_DEFAULT` macro was not used at all, while defined in the source code.
Instead, a `unsigned int rounds = 5000;` was set, which uses the same value.

This commit changes the `5000` to `ROUNDS_DEFAULT`.

CLA: trivial

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14156)
apps/passwd.c