]> git.ipfire.org Git - thirdparty/openssl.git/commit
APPS: genrsa: Support setting properties
authorClemens Lang <cllang@redhat.com>
Mon, 4 Jul 2022 15:15:46 +0000 (17:15 +0200)
committerDmitry Belyavskiy <beldmit@gmail.com>
Wed, 17 Aug 2022 07:20:41 +0000 (09:20 +0200)
commitb2ccfd81025fa115f1138123b9aa61657e779352
treec7819025179f5712372dbdfdbe378b54663dccbb
parent653a7706781ebbe8a6a4b84d29b39d001c395ffe
APPS: genrsa: Support setting properties

The -provider and -propquery options did not work on genrsa. Fix this
and add a test that checks that operations that would usually fail with
the FIPS provider work when run with

| -provider default -propquery '?fips!=yes'

See also 30b2c3592e8511b60d44f93eb657a1ecb3662c08, which previously
fixed the same problem in dsaparam and gendsa. See also the initial
report in https://bugzilla.redhat.com/show_bug.cgi?id=2094956.

Signed-off-by: Clemens Lang <cllang@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/18717)
apps/genrsa.c
test/recipes/15-test_genrsa.t