summaryrefslogtreecommitdiff
path: root/ext/ftp/ftp.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-12-06 16:12:10 +0000
committerWez Furlong <wez@php.net>2003-12-06 16:12:10 +0000
commitbf033aa5a8d210615fcef0e5fdb0f6ac4bd5a258 (patch)
treefedc8647b9c478dfdc51d152881ecdb6cebffb8a /ext/ftp/ftp.h
parentfcdda2e8f8182a38404e3e5db2bb560a9348cd17 (diff)
downloadphp-git-bf033aa5a8d210615fcef0e5fdb0f6ac4bd5a258.tar.gz
Fix ftp build when openssl is built as a shared extension.
Diffstat (limited to 'ext/ftp/ftp.h')
-rw-r--r--ext/ftp/ftp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h
index 35eb376ac4..3c5722d4aa 100644
--- a/ext/ftp/ftp.h
+++ b/ext/ftp/ftp.h
@@ -49,7 +49,7 @@ typedef struct databuf
php_socket_t fd; /* data connection */
ftptype_t type; /* transfer type */
char buf[FTP_BUFSIZE]; /* data buffer */
-#ifdef HAVE_OPENSSL_EXT
+#if HAVE_OPENSSL_EXT
SSL *ssl_handle; /* ssl handle */
int ssl_active; /* flag if ssl is active or not */
#endif
@@ -78,7 +78,7 @@ typedef struct ftpbuf
int lastch; /* last char of previous call */
int direction; /* recv = 0 / send = 1 */
int closestream;/* close or not close stream */
-#ifdef HAVE_OPENSSL_EXT
+#if HAVE_OPENSSL_EXT
int use_ssl; /* enable(1) or disable(0) ssl */
int use_ssl_for_data; /* en/disable ssl for the dataconnection */
int old_ssl; /* old mode = forced data encryption */