1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-08 08:58:00 +00:00

Fix cgtest again.

When I added the fmt_version field to ppk_save_parameters, I forgot to
fill it in in the special version of that struct used by cgtest.
Without that, it defaulted to 0, triggering an assertion failure.
This commit is contained in:
Simon Tatham 2021-02-23 18:15:15 +00:00
parent c10aff8a47
commit ee6b0724c5

View File

@ -41,6 +41,7 @@ const struct ppk_save_parameters ppk_save_cgtest_parameters = {
* different answers twice in the test suite when we were
* expecting two key files to compare equal), and we specify a
* passphrase salt. */
.fmt_version = 3,
.argon2_flavour = Argon2id,
.argon2_mem = 16,
.argon2_passes_auto = false,