X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_request_int.h;h=5037bffec99a1e4f9b4115aac74a5ec3e87d741d;hp=7bf5db1927392c34e91bb17d3396984a4e8f4ded;hb=d8d4c50ac3637c4fafae5cec91501795b334c11e;hpb=0e0def98a4ea4463bf8c21c6f161b2b37aa8c49d diff --git a/php_http_request_int.h b/php_http_request_int.h index 7bf5db1..5037bff 100644 --- a/php_http_request_int.h +++ b/php_http_request_int.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -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" \ @@ -46,10 +32,6 @@ # endif /* PHP_WIN32 */ #endif /* ZTS && HTTP_HAVE_SSL */ -#ifndef HAVE_CURL_EASY_STRERROR -# define curl_easy_strerror(dummy) "unknown error" -#endif - #define HTTP_CURL_OPT(OPTION, p) curl_easy_setopt((request->ch), OPTION, (p)) #define HTTP_CURL_OPT_STRING(OPTION, ldiff, obdc) \