* cipher/pubkey-util.c (_gcry_pk_util_parse_flaglist): Differentiate use of igninvflag.
Signed-off-by: Lucas Mulling <lucas.mull...@suse.com> --- cipher/pubkey-util.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cipher/pubkey-util.c b/cipher/pubkey-util.c index 68defea6..9c927638 100644 --- a/cipher/pubkey-util.c +++ b/cipher/pubkey-util.c @@ -200,6 +200,14 @@ _gcry_pk_util_parse_flaglist (gcry_sexp_t list, } } + if (fips_mode () && igninvflag) + { + if (fips_check_rejection (GCRY_FIPS_FLAG_REJECT_PK)) + rc = GPG_ERR_INV_FLAG; + else + fips_service_indicator_mark_non_compliant (); + } + if (r_flags) *r_flags = flags; if (r_encoding) -- 2.48.1 _______________________________________________ Gcrypt-devel mailing list Gcrypt-devel@gnupg.org https://lists.gnupg.org/mailman/listinfo/gcrypt-devel