--- /dev/null
+--- php-4.4.9/ext/openssl/openssl.c.org 2010-04-11 08:09:20.114283832 +0200
++++ php-4.4.9/ext/openssl/openssl.c 2010-04-11 08:08:40.851370731 +0200
+@@ -179,8 +179,13 @@
+ static char default_ssl_conf_filename[MAXPATHLEN];
+
+ struct php_x509_request {
++#if OPENSSL_VERSION_NUMBER >= 0x10000002L
++ LHASH_OF(CONF_VALUE) * global_config; /* Global SSL config */
++ LHASH_OF(CONF_VALUE) * req_config; /* SSL config for this request */
++#else
+ LHASH * global_config; /* Global SSL config */
+ LHASH * req_config; /* SSL config for this request */
++#endif
+ const EVP_MD * md_alg;
+ const EVP_MD * digest;
+ char * section_name,
+@@ -340,7 +345,12 @@
+ const char * section_label,
+ const char * config_filename,
+ const char * section,
+- LHASH * config TSRMLS_DC)
++#if OPENSSL_VERSION_NUMBER >= 0x10000002L
++ LHASH_OF(CONF_VALUE) * config TSRMLS_DC
++#else
++ LHASH * config TSRMLS_DC
++#endif
++ )
+ {
+ X509V3_CTX ctx;
+
%undefine with_msession
%endif
-%define rel 27
+%define rel 28
Summary: PHP: Hypertext Preprocessor
Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
Summary(pl.UTF-8): Język skryptowy PHP
Patch26: %{name}-zlib.patch
Patch27: %{name}-db-shared.patch
Patch28: %{name}-sybase-fix.patch
+Patch29: %{name}-openssl.patch
Patch30: %{name}-mnogosearch-fix.patch
Patch31: %{name}-stupidapache_version.patch
Patch33: %{name}-uint32_t.patch
%patch26 -p1
%patch27 -p1
%patch28 -p1
-
+%patch29 -p1
%patch30 -p1
%patch31 -p1
%patch33 -p1