diff options
author | foobar <sniper@php.net> | 2003-06-27 16:41:41 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-06-27 16:41:41 +0000 |
commit | 3a7ca909becef523275ac0b7cc8d2f9d5b3eff1d (patch) | |
tree | 8d673f914daafe68e724f0ad4cc50c53d97e3783 /ext/ftp/php_ftp.c | |
parent | 357f62734ade0f293454596c46fce51d21275734 (diff) | |
download | php-git-3a7ca909becef523275ac0b7cc8d2f9d5b3eff1d.tar.gz |
- HAVE_OPENSSL_EXT is not defined always.
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r-- | ext/ftp/php_ftp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index bc546732f6..94a0c8bc5f 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -35,7 +35,7 @@ #endif #endif -#if HAVE_OPENSSL_EXT +#ifdef HAVE_OPENSSL_EXT #include <openssl/ssl.h> #endif @@ -52,7 +52,7 @@ static int le_ftpbuf; function_entry php_ftp_functions[] = { PHP_FE(ftp_connect, NULL) -#if HAVE_OPENSSL_EXT +#ifdef HAVE_OPENSSL_EXT PHP_FE(ftp_ssl_connect, NULL) #endif PHP_FE(ftp_login, NULL) @@ -171,7 +171,7 @@ PHP_FUNCTION(ftp_connect) /* autoseek for resuming */ ftp->autoseek = FTP_DEFAULT_AUTOSEEK; -#if HAVE_OPENSSL_EXT +#ifdef HAVE_OPENSSL_EXT /* disable ssl */ ftp->use_ssl = 0; #endif @@ -180,7 +180,7 @@ PHP_FUNCTION(ftp_connect) } /* }}} */ -#if HAVE_OPENSSL_EXT +#ifdef HAVE_OPENSSL_EXT /* {{{ proto resource ftp_ssl_connect(string host [, int port [, int timeout)]]) Opens a FTP-SSL stream */ PHP_FUNCTION(ftp_ssl_connect) |