[openssl-users] Get effective OPENSSLDIR path at runtime?
noloader at gmail.com
Thu May 5 05:06:45 UTC 2016
opensslconf.h has a macro for the configured OpenSSL directory. We can
find the configured location of opendssl.cnf by using OPENSSLDIR.
However, the path can be influenced by `-config` options (for openssl
apps) and the `OPENSSL_CONF` environmental variable at runtime.
How can we get effective OPENSSLDIR path at runtime?
Thanks in advance.
More information about the openssl-users