lib/sign-dummy: Handle incorrect signatures correctly
authorJonathan Lebon <jonathan@jlebon.com>
Tue, 3 Aug 2021 20:33:28 +0000 (16:33 -0400)
committerJonathan Lebon <jonathan@jlebon.com>
Tue, 3 Aug 2021 20:49:49 +0000 (16:49 -0400)
commit75b17937cf69fbb215d3b18b6e6afba4dd9df82a
treebb14142754b64ea5dd07e411ee63ecddc07d9d30
parenta3ce5df22e2835050145841441c81a423fc8d0e4
lib/sign-dummy: Handle incorrect signatures correctly

We need to check all signatures for one which passes, not just fail on
the first one.

Reported-by: Seth Arnold <seth.arnold@canonical.com>
src/libostree/ostree-sign-dummy.c
tests/test-delta-sign.sh