From ee6b0724c5866ca7b0d4523b2e274f64283f59d2 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 23 Feb 2021 18:15:15 +0000 Subject: [PATCH] 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. --- cgtest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cgtest.c b/cgtest.c index 62988576..6de22019 100644 --- a/cgtest.c +++ b/cgtest.c @@ -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,