diff options
author | Petr Gotthard <petr.gotthard@centrum.cz> | 2020-12-26 21:32:14 +0100 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-05 10:24:04 +1000 |
commit | 7dc67708c8ae6ec06c7fec34781225ed60b5e68d (patch) | |
tree | c48ecd0e6c3a24a5837a09a7e7497c458052d4c6 /doc/man1 | |
parent | 88444854affe31ce08a5daaf4b6afc86e6972c63 (diff) |
apps/openssl: add -propquery command line option
Fixes #13656. Right now all openssl commands use a NULL propq. This
patch adds a possibility to specify a custom propq.
The implementation follows the example of set_nameopt/get_nameopt.
Various tools had to be modified to call app_get0_propq after it has
been populated. Otherwise the -propquery has no effect.
The tests then verify the -propquery affects the tool behaviour by
requesting a non-existing property.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13707)
Diffstat (limited to 'doc/man1')
-rw-r--r-- | doc/man1/openssl.pod | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/man1/openssl.pod b/doc/man1/openssl.pod index 3176c19eee..8e30f81fe9 100644 --- a/doc/man1/openssl.pod +++ b/doc/man1/openssl.pod @@ -645,6 +645,26 @@ the PKCS#11 URI as defined in RFC 7512 should be possible to use directly: -key pkcs11:object=some-private-key;pin-value=1234 +=head2 Provider Options + +=over 4 + +=item B<-provider> I<name> + +Load and initialize the provider identified by I<name>. + +=item B<-provider-path> I<path> + +Specifies the search path that is to be used for looking for providers. + +=item B<-propquery> I<propq> + +Specifies the I<property query clause> to be used when fetching algorithms +from the loaded providers. +See L<property(7)> for a more detailed description. + +=back + =head1 ENVIRONMENT The OpenSSL library can be take some configuration parameters from the |