]> git.ipfire.org Git - thirdparty/openssl.git/commit
APPS: ecparam: Support setting properties
authorClemens Lang <cllang@redhat.com>
Fri, 1 Jul 2022 13:22:34 +0000 (15:22 +0200)
committerDmitry Belyavskiy <beldmit@gmail.com>
Wed, 17 Aug 2022 07:20:41 +0000 (09:20 +0200)
commit2b8f687d7627a4b15bba6a820825944185980376
tree16f50f0d928259e5242164fbfca9d1563b754903
parentae3c30acac17271693e91dcae42c804cd96e8f93
APPS: ecparam: Support setting properties

The -provider and -propquery options did not work on ecparam. Fix this
and add tests that check 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/ecparam.c
test/recipes/15-test_ecparam.t