Merge pull request #23465 from mrc0mmand/bump-actions-to-ubuntu-2204

ci: bump GH Actions to Ubuntu Jammy where applicable
This commit is contained in:
Luca Boccassi
2022-05-22 02:29:59 +01:00
committed by GitHub
9 changed files with 20 additions and 13 deletions
@@ -39,7 +39,8 @@ _public_ int cryptsetup_token_open_pin(
/* This must not fail at this moment (internal error) */
r = crypt_token_json_get(cd, token, &json);
assert(token == r);
/* Use assert_se() here to avoid emitting warning with -DNDEBUG */
assert_se(token == r);
assert(json);
if (pin && memchr(pin, 0, pin_size - 1))
@@ -38,7 +38,8 @@ _public_ int cryptsetup_token_open_pin(
/* This must not fail at this moment (internal error) */
r = crypt_token_json_get(cd, token, &json);
assert(token == r);
/* Use assert_se() here to avoid emitting warning with -DNDEBUG */
assert_se(token == r);
assert(json);
return acquire_luks2_key(cd, json, usrptr, pin, pin_size, password, password_len);