]> git.ipfire.org Git - thirdparty/systemd.git/commit
cryptsetup: don't assert on variable which is optional 13243/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Aug 2019 06:15:43 +0000 (08:15 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Aug 2019 07:49:24 +0000 (09:49 +0200)
commitfef716b28be6e866b8afe995805d5ebe2af6bbfa
tree06710a966c80e26e3a02744ff41e1ed0ff5a2db0
parent5d2100dc4c32abbce4109e75cbfbbef6e1b2b7b1
cryptsetup: don't assert on variable which is optional

https://github.com/systemd/systemd/commit/50d2eba27b9bfc77ef6b40e5721713846815418b#commitcomment-34519739

In add_crypttab_devices() split_keyspec is called on the keyfile argument,
which may be NULL.
src/cryptsetup/cryptsetup-generator.c