tests: Expect errors from algorithms not supported in FIPS mode.
* tests/basic.c (FLAG_NOFIPS): New. (check_pubkey_sign): Pass and handle NOFIPS flag. (check_pubkey_sign_ecdsa): Likewise. (check_pubkey_crypt): Likewise. (do_check_one_pubkey): Pass flags. (check_pubkey): Mark explicitly algorithms expected not to work in FIPS mode and make sure they fail.
- Co-authored-by: NIIBE Yutaka <gniibe@fsij.org>
- Signed-off-by: Jakub Jelen <jjelen@redhat.com>