projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
d3c84fe
)
- AC found the header if HTTP_HAVE_[OPENSSL|GNUTLS] is defined
author
Michael Wallner
<mike@php.net>
Fri, 28 Sep 2007 07:04:27 +0000
(07:04 +0000)
committer
Michael Wallner
<mike@php.net>
Fri, 28 Sep 2007 07:04:27 +0000
(07:04 +0000)
php_http_request_int.h
patch
|
blob
|
history
diff --git
a/php_http_request_int.h
b/php_http_request_int.h
index c45db8ac41c49f93f272e3bd1798a15ce4b94f2e..5037bffec99a1e4f9b4115aac74a5ec3e87d741d 100644
(file)
--- a/
php_http_request_int.h
+++ b/
php_http_request_int.h
@@
-18,25
+18,11
@@
# include <openssl/crypto.h>
# else /* !PHP_WIN32 */
# if defined(HTTP_HAVE_OPENSSL)
# include <openssl/crypto.h>
# else /* !PHP_WIN32 */
# if defined(HTTP_HAVE_OPENSSL)
-# if defined(HAVE_OPENSSL_CRYPTO_H)
-# define HTTP_NEED_OPENSSL_TSL
-# include <openssl/crypto.h>
-# else
-# warning \
- "libcurl was compiled with OpenSSL support, but configure could not find " \
- "openssl/crypto.h; thus no SSL crypto locking callbacks will be set, which may " \
- "cause random crashes on SSL requests"
-# endif
+# define HTTP_NEED_OPENSSL_TSL
+# include <openssl/crypto.h>
# elif defined(HTTP_HAVE_GNUTLS)
# elif defined(HTTP_HAVE_GNUTLS)
-# if defined(HAVE_GCRYPT_H)
-# define HTTP_NEED_GNUTLS_TSL
-# include <gcrypt.h>
-# else
-# warning \
- "libcurl was compiled with GnuTLS support, but configure could not find " \
- "gcrypt.h; thus no SSL crypto locking callbacks will be set, which may " \
- "cause random crashes on SSL requests"
-# endif
+# define HTTP_NEED_GNUTLS_TSL
+# include <gcrypt.h>
# else
# warning \
"libcurl was compiled with SSL support, but configure could not determine which" \
# else
# warning \
"libcurl was compiled with SSL support, but configure could not determine which" \