]>
Commit | Line | Data |
---|---|---|
5104523b AM |
1 | --- php-4.4.9/ext/openssl/openssl.c.org 2010-04-11 08:09:20.114283832 +0200 |
2 | +++ php-4.4.9/ext/openssl/openssl.c 2010-04-11 08:08:40.851370731 +0200 | |
3 | @@ -179,8 +179,13 @@ | |
4 | static char default_ssl_conf_filename[MAXPATHLEN]; | |
5 | ||
6 | struct php_x509_request { | |
7 | +#if OPENSSL_VERSION_NUMBER >= 0x10000002L | |
8 | + LHASH_OF(CONF_VALUE) * global_config; /* Global SSL config */ | |
9 | + LHASH_OF(CONF_VALUE) * req_config; /* SSL config for this request */ | |
10 | +#else | |
11 | LHASH * global_config; /* Global SSL config */ | |
12 | LHASH * req_config; /* SSL config for this request */ | |
13 | +#endif | |
14 | const EVP_MD * md_alg; | |
15 | const EVP_MD * digest; | |
16 | char * section_name, | |
17 | @@ -340,7 +345,12 @@ | |
18 | const char * section_label, | |
19 | const char * config_filename, | |
20 | const char * section, | |
21 | - LHASH * config TSRMLS_DC) | |
22 | +#if OPENSSL_VERSION_NUMBER >= 0x10000002L | |
23 | + LHASH_OF(CONF_VALUE) * config TSRMLS_DC | |
24 | +#else | |
25 | + LHASH * config TSRMLS_DC | |
26 | +#endif | |
27 | + ) | |
28 | { | |
29 | X509V3_CTX ctx; | |
30 |