From: Michael Wallner Date: Fri, 28 Sep 2007 07:04:27 +0000 (+0000) Subject: - AC found the header if HTTP_HAVE_[OPENSSL|GNUTLS] is defined X-Git-Tag: RELEASE_1_6_0RC1~9 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=a8ac1f41f21043ec7fed928821255fb4ea5c2c62 - AC found the header if HTTP_HAVE_[OPENSSL|GNUTLS] is defined --- diff --git a/php_http_request_int.h b/php_http_request_int.h index c45db8a..5037bff 100644 --- a/php_http_request_int.h +++ b/php_http_request_int.h @@ -18,25 +18,11 @@ # include # else /* !PHP_WIN32 */ # if defined(HTTP_HAVE_OPENSSL) -# if defined(HAVE_OPENSSL_CRYPTO_H) -# define HTTP_NEED_OPENSSL_TSL -# include -# 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 # elif defined(HTTP_HAVE_GNUTLS) -# if defined(HAVE_GCRYPT_H) -# define HTTP_NEED_GNUTLS_TSL -# include -# 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 # else # warning \ "libcurl was compiled with SSL support, but configure could not determine which" \