]> www.infradead.org Git - mtd-utils.git/commit
mkfs.ubifs: fix broken build if fscrtyp is disabled
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Sun, 9 Feb 2020 21:46:28 +0000 (22:46 +0100)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Sun, 9 Feb 2020 22:04:41 +0000 (23:04 +0100)
commit639b871fe3d2cb3e73d21363e8c13ede2bbd9f99
tree1af62ab919eeba1f3101569bbf28b5adbb372f67
parent3ea4705086b9b26a4acde7e83eb05be248ade503
mkfs.ubifs: fix broken build if fscrtyp is disabled

First, there is no option named of X509_OPTION. It was presumably
changed during development to AUTH_CERT_OPTION. This commit fixes
the name in the !WITH_CRYPTO branch.

Similarly, '}' got moved into the WITH_CRYPTO branch, but not into
else branch, resulting in tons of errors if fscrypt is disabled.
This commit pulls it back out of both branches.

Fixes: a739b59e ("mkfs.ubifs: Add authentication support")
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/mkfs.ubifs/mkfs.ubifs.c