mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
096978f099
'openssl version -r' prints the seed source based on compiler macros. This does not necessarily reflect the library's idea of what seed sources to use, so we reimplement the list of seed sources as a OPENSSL_info() item and display that instead. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9689)
86 lines
1.7 KiB
Plaintext
86 lines
1.7 KiB
Plaintext
=pod
|
|
|
|
=head1 NAME
|
|
|
|
openssl-info - print OpenSSL built-in information
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
B<openssl info>
|
|
[B<-help>]
|
|
[B<-configdir> | B<-c>]
|
|
[B<-enginesdir> | B<-e>]
|
|
[B<-modulesdir> | B<-m>]
|
|
[B<-dsoext>]
|
|
[B<-dirfilesep>]
|
|
[B<-listsep]>
|
|
[B<-seeds]>
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
This command is used to print out information about OpenSSL.
|
|
The information is written exactly as it is with no extra text, which
|
|
makes useful for scripts.
|
|
|
|
As a consequence, only one item may be chosen for each run of this
|
|
command.
|
|
|
|
=head1 OPTIONS
|
|
|
|
=over 4
|
|
|
|
=item B<-help>
|
|
|
|
Print out a usage message.
|
|
|
|
=item B<-configdir>, B<-c>
|
|
|
|
Outputs the default directory for OpenSSL configuration files.
|
|
|
|
=item B<-enginesdir>, B<-e>
|
|
|
|
Outputs the default directory for OpenSSL engine modules.
|
|
|
|
=item B<-modulesdir>, B<-m>
|
|
|
|
Outputs the default directory for OpenSSL dynamically loadable modules
|
|
other than engine modules.
|
|
|
|
=item B<-dsoext>
|
|
|
|
Outputs the DSO extension OpenSSL uses.
|
|
|
|
=item B<-dirnamesep>
|
|
|
|
Outputs the separator character between a directory specification and
|
|
a file name.
|
|
Note that on some operating systems, this is not the same as the
|
|
separator between directory elements.
|
|
|
|
=item B<-listsep>
|
|
|
|
Outputs the OpenSSL list separator character.
|
|
This is typically used to construct C<$PATH> (C<%PATH%> on Windows)
|
|
style lists.
|
|
|
|
=item B<-seeds>
|
|
|
|
Outputs the randomness seed sources.
|
|
|
|
=back
|
|
|
|
=head1 HISTORY
|
|
|
|
The B<openssl info> command was added in OpenSSL 3.0.
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
this file except in compliance with the License. You can obtain a copy
|
|
in the file LICENSE in the source distribution or at
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
=cut
|