Repository navigation
Conversation
Member
Author
|
This might for example be useful for @slontis' effort with FIPS module installation and testing. |
Member
Author
|
Hold on, I'm going to rework this one a bit. |
levitte
force-pushed
the
display-modules-dir
branch
from
April 10, 2019 08:14
ae96900 to
e407e82
Compare
Member
Author
|
Rework done. |
slontis
reviewed
Apr 10, 2019
Contributor
|
Use a dash, "built-in" when it is an adjective like "built-in data" Less helpfully, do not use a dash when it is a verb, as in "built in the factory" |
levitte
force-pushed
the
display-modules-dir
branch
from
April 11, 2019 14:58
919973b to
e7f9c7c
Compare
Member
Author
|
Rebased because util/libcrypto.num. Final review, anyone? |
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'.
OpenSSL_version(OPENSSL_DIR) gives you a nicely formatted string for display, but if all you really want is the directory itself, you were forced to parsed the string. This introduces a new function to get diverse configuration data from the library, OPENSSL_info(). This works the same way as OpenSSL_version(), but has its own series of types, currently including: OPENSSL_INFO_CONFIG_DIR returns OPENSSLDIR OPENSSL_INFO_ENGINES_DIR returns ENGINESDIR OPENSSL_INFO_MODULES_DIR returns MODULESDIR OPENSSL_INFO_DSO_EXTENSION returns DSO_EXTENSION For scripting purposes, this also adds the command 'openssl info'.
Additionally: OPENSSL_INFO_DIR_FILENAME_SEPARATOR returns directory/filename separator OPENSSL_INFO_LIST_SEPARATOR returns list separator
Including the implementation does help a bit, yeah? ;-)
levitte
force-pushed
the
display-modules-dir
branch
from
April 18, 2019 16:47
e7f9c7c to
3c2be18
Compare
Member
Author
|
Ping? |
mattcaswell
reviewed
Apr 18, 2019
mattcaswell
left a comment
Member
There was a problem hiding this comment.
I'm not really sure why we need a new command line app for this?
|
|
||
| =head1 DESCRIPTION | ||
|
|
||
| This command is used to print out info information about OpenSSL. |
Member
Author
There was a problem hiding this comment.
Yes, exactly. It's info about the information that you will eventually...
... nah, kidding, will fix.
Member
Author
There was a problem hiding this comment.
I ended up adding a bit more
Member
Author
|
Ping? |
Contributor
|
After the conflicts are resolved. |
Member
Author
levitte
added a commit
that referenced
this pull request
Apr 23, 2019
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'. Reviewed-by: Paul Dale <[email protected]> (Merged from #8709)
levitte
added a commit
that referenced
this pull request
Apr 23, 2019
OpenSSL_version(OPENSSL_DIR) gives you a nicely formatted string for display, but if all you really want is the directory itself, you were forced to parsed the string. This introduces a new function to get diverse configuration data from the library, OPENSSL_info(). This works the same way as OpenSSL_version(), but has its own series of types, currently including: OPENSSL_INFO_CONFIG_DIR returns OPENSSLDIR OPENSSL_INFO_ENGINES_DIR returns ENGINESDIR OPENSSL_INFO_MODULES_DIR returns MODULESDIR OPENSSL_INFO_DSO_EXTENSION returns DSO_EXTENSION OPENSSL_INFO_DIR_FILENAME_SEPARATOR returns directory/filename separator OPENSSL_INFO_LIST_SEPARATOR returns list separator For scripting purposes, this also adds the command 'openssl info'. Reviewed-by: Paul Dale <[email protected]> (Merged from #8709)
bernd-edlinger
pushed a commit
to bernd-edlinger/openssl
that referenced
this pull request
May 16, 2020
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'. Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#8709) (cherry picked from commit 47ca833)
bernd-edlinger
pushed a commit
to bernd-edlinger/openssl
that referenced
this pull request
Mar 25, 2022
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'. Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#8709) (cherry picked from commit 47ca833)
bernd-edlinger
pushed a commit
to bernd-edlinger/openssl
that referenced
this pull request
Jun 26, 2022
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'. Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#8709) (cherry picked from commit 47ca833)
bernd-edlinger
pushed a commit
to bernd-edlinger/openssl
that referenced
this pull request
Jul 29, 2022
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'. Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#8709) (cherry picked from commit 47ca833)
bernd-edlinger
pushed a commit
to bernd-edlinger/openssl
that referenced
this pull request
Sep 8, 2022
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'. Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#8709) (cherry picked from commit 47ca833)
bernd-edlinger
pushed a commit
to bernd-edlinger/openssl
that referenced
this pull request
Sep 19, 2022
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'. Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#8709) (cherry picked from commit 47ca833)
bernd-edlinger
pushed a commit
to bernd-edlinger/openssl
that referenced
this pull request
Nov 4, 2022
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'. Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#8709) (cherry picked from commit 47ca833)
bernd-edlinger
pushed a commit
to bernd-edlinger/openssl
that referenced
this pull request
Nov 8, 2022
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'. Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#8709) (cherry picked from commit 47ca833)
bernd-edlinger
pushed a commit
to bernd-edlinger/openssl
that referenced
this pull request
Nov 18, 2022
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'. Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#8709) (cherry picked from commit 47ca833)
bernd-edlinger
pushed a commit
to bernd-edlinger/openssl
that referenced
this pull request
Dec 6, 2022
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'. Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#8709) (cherry picked from commit 47ca833)
bernd-edlinger
pushed a commit
to bernd-edlinger/openssl
that referenced
this pull request
Dec 17, 2022
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'. Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#8709) (cherry picked from commit 47ca833)
bernd-edlinger
pushed a commit
to bernd-edlinger/openssl
that referenced
this pull request
Dec 23, 2022
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the flag '-m' for 'openssl version'. Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#8709) (cherry picked from commit 47ca833)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the possibility to display and use MODULESDIR
This adds the flag OPENSSL_MODULES_DIR for OpenSSL_version(), and the
flag '-m' for 'openssl version'.
Add a way for the application to get OpenSSL configuration data
OpenSSL_version(OPENSSL_DIR) gives you a nicely formatted string for
display, but if all you really want is the directory itself, you were
forced to parsed the string.
This introduces a new function to get diverse configuration data from
the library, OPENSSL_info(). This works the same way as
OpenSSL_version(), but has its own series of types, currently
including:
OPENSSL_INFO_CONFIG_DIR returns OPENSSLDIR
OPENSSL_INFO_ENGINES_DIR returns ENGINESDIR
OPENSSL_INFO_MODULES_DIR returns MODULESDIR
OPENSSL_INFO_DSO_EXTENSION returns DSO_EXTENSION
For scripting purposes, this also adds the command 'openssl info'.