mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Init OpenSSL libctx and use it for pkey (#18282)
This commit is contained in:
parent
905bba637a
commit
cb4bafa4c0
6 changed files with 111 additions and 25 deletions
|
@ -73,6 +73,10 @@ struct php_openssl_errors {
|
|||
ZEND_BEGIN_MODULE_GLOBALS(openssl)
|
||||
struct php_openssl_errors *errors;
|
||||
struct php_openssl_errors *errors_mark;
|
||||
#if PHP_OPENSSL_API_VERSION >= 0x30000
|
||||
OSSL_LIB_CTX *libctx;
|
||||
char *propq;
|
||||
#endif
|
||||
ZEND_END_MODULE_GLOBALS(openssl)
|
||||
|
||||
#define OPENSSL_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(openssl, v)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue