- proper location of the HTTP_NEED_SSL_TSL macro
authorMichael Wallner <mike@php.net>
Fri, 21 Oct 2005 10:38:28 +0000 (10:38 +0000)
committerMichael Wallner <mike@php.net>
Fri, 21 Oct 2005 10:38:28 +0000 (10:38 +0000)
http_request_api.c

index b16957c6491f5a01c54d387e612c8383a4860b6d..9cfa1bdaf65c8ae4872b0b280a5859eec40a8c80 100644 (file)
@@ -49,9 +49,9 @@
 #              define HTTP_NEED_OPENSSL_TSL
 #              include <openssl/crypto.h>
 #      else /* !PHP_WIN32 */
-#              define HTTP_NEED_SSL_TSL
 #              if defined(HTTP_HAVE_OPENSSL)
 #                      if defined(HAVE_OPENSSL_CRYPTO_H)
+#                              define HTTP_NEED_SSL_TSL
 #                              define HTTP_NEED_OPENSSL_TSL
 #                              include <openssl/crypto.h>
 #                      else
@@ -62,6 +62,7 @@
 #                      endif
 #              elif defined(HTTP_HAVE_GNUTLS)
 #                      if defined(HAVE_GCRYPT_H)
+#                              define HTTP_NEED_SSL_TSL
 #                              define HTTP_NEED_GNUTLS_TSL
 #                              include <gcrypt.h>
 #                      else