Unable to use crypto API without loading in config file #21470
-
I am using OpenSSL APIs in an environment where loading in files during runtime is restricted, and thus I need to disable all attempts by OpenSSL to load the config file during runtime. However, in crypto/provider_core.c:1352, we see this hard-coded line |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Options
Sample program
Without code to disable loading configuration
With code to disable loading configuration
|
Beta Was this translation helpful? Give feedback.
Options
OPENSSL_INIT_NO_LOAD_CONFIG
option to suppress loading OpenSSL configuration filesSample program
Without code to disable loading configuration