summaryrefslogtreecommitdiff
path: root/main/php_network.h
diff options
context:
space:
mode:
authorStefan Esser <sesser@php.net>2002-09-12 21:52:09 +0000
committerStefan Esser <sesser@php.net>2002-09-12 21:52:09 +0000
commit714eb8069ac2f33a6a886d35da16176c2dd2a4ad (patch)
treeaf3d4ad44535b4c44853ec76da05c550ade95459 /main/php_network.h
parentfb9bd8d20aedc31ee3c16fb400740d4ac2df9187 (diff)
downloadphp-git-714eb8069ac2f33a6a886d35da16176c2dd2a4ad.tar.gz
made new ssl activate function the default.
Diffstat (limited to 'main/php_network.h')
-rw-r--r--main/php_network.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/main/php_network.h b/main/php_network.h
index 139f19ce8f..5279377986 100644
--- a/main/php_network.h
+++ b/main/php_network.h
@@ -148,9 +148,8 @@ PHPAPI void php_stream_sock_set_timeout(php_stream *stream, struct timeval *time
PHPAPI size_t php_stream_sock_set_chunk_size(php_stream *stream, size_t size TSRMLS_DC);
#if HAVE_OPENSSL_EXT
-PHPAPI int php_stream_sock_ssl_activate_with_method_ex(php_stream *stream, int activate, SSL_METHOD *method, php_stream *control TSRMLS_DC);
-#define php_stream_sock_ssl_activate_with_method(stream, activate, method) php_stream_sock_ssl_activate_with_method_ex((stream), (activate), SSLv23_client_method(), NULL TSRMLS_CC)
-#define php_stream_sock_ssl_activate(stream, activate) php_stream_sock_ssl_activate_with_method((stream), (activate), SSLv23_client_method() TSRMLS_CC)
+PHPAPI int php_stream_sock_ssl_activate_with_method(php_stream *stream, int activate, SSL_METHOD *method, php_stream *session_stream TSRMLS_DC);
+#define php_stream_sock_ssl_activate(stream, activate) php_stream_sock_ssl_activate_with_method((stream), (activate), SSLv23_client_method(), NULL TSRMLS_CC)
#endif