]> granicus.if.org Git - php/commitdiff
Fix indent
authorfoobar <sniper@php.net>
Wed, 26 Oct 2005 11:33:05 +0000 (11:33 +0000)
committerfoobar <sniper@php.net>
Wed, 26 Oct 2005 11:33:05 +0000 (11:33 +0000)
ext/curl/interface.c

index 4c1934c50592c33b5a6252efe9d33bd5d9b57084..4eb8a8a1aa73f3821d2d7de792b1898a965c5cb2 100644 (file)
 
 /* {{{ cruft for thread safe SSL crypto locks */
 #if defined(ZTS) && defined(HAVE_CURL_SSL)
-#      ifdef PHP_WIN32
-#              define PHP_CURL_NEED_SSL_TSL
-#              define PHP_CURL_NEED_OPENSSL_TSL
-#              include <openssl/crypto.h>
-#      else /* !PHP_WIN32 */
-#              if defined(HAVE_CURL_OPENSSL)
-#                      if defined(HAVE_OPENSSL_CRYPTO_H)
-#                              define PHP_CURL_NEED_SSL_TSL
-#                              define PHP_CURL_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
-#              elif defined(HAVE_CURL_GNUTLS)
-#                      if defined(HAVE_GCRYPT_H)
-#                              define PHP_CURL_NEED_SSL_TSL
-#                              define PHP_CURL_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
-#              else
-#                      warning \
-                               "libcurl was compiled with SSL support, but configure could not determine which" \
-                               "library was used; thus no SSL crypto locking callbacks will be set, which may " \
-                               "cause random crashes on SSL requests"
-#              endif /* HAVE_CURL_OPENSSL || HAVE_CURL_GNUTLS */
-#      endif /* PHP_WIN32 */
+# ifdef PHP_WIN32
+#  define PHP_CURL_NEED_SSL_TSL
+#  define PHP_CURL_NEED_OPENSSL_TSL
+#  include <openssl/crypto.h>
+# else /* !PHP_WIN32 */
+#  if defined(HAVE_CURL_OPENSSL)
+#   if defined(HAVE_OPENSSL_CRYPTO_H)
+#    define PHP_CURL_NEED_SSL_TSL
+#    define PHP_CURL_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
+#  elif defined(HAVE_CURL_GNUTLS)
+#   if defined(HAVE_GCRYPT_H)
+#    define PHP_CURL_NEED_SSL_TSL
+#    define PHP_CURL_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
+#  else
+#   warning \
+       "libcurl was compiled with SSL support, but configure could not determine which" \
+       "library was used; thus no SSL crypto locking callbacks will be set, which may " \
+       "cause random crashes on SSL requests"
+#  endif /* HAVE_CURL_OPENSSL || HAVE_CURL_GNUTLS */
+# endif /* PHP_WIN32 */
 #endif /* ZTS && HAVE_CURL_SSL */
 /* }}} */