fix typo
This commit is contained in:
parent
f58ddef3bb
commit
205e3dad56
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-ext_openssl_xp_ssl_c,v 1.1 2015/07/18 20:54:19 sthen Exp $
|
||||
$OpenBSD: patch-ext_openssl_xp_ssl_c,v 1.2 2015/07/19 20:09:58 sthen Exp $
|
||||
--- ext/openssl/xp_ssl.c.orig.port Sat Jul 18 13:58:31 2015
|
||||
+++ ext/openssl/xp_ssl.c Sat Jul 18 14:52:03 2015
|
||||
@@ -339,9 +339,14 @@ static inline int php_openssl_setup_crypto(php_stream
|
||||
@ -7,7 +7,7 @@ $OpenBSD: patch-ext_openssl_xp_ssl_c,v 1.1 2015/07/18 20:54:19 sthen Exp $
|
||||
case STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
|
||||
+#ifdef OPENSSL_NO_SSL3
|
||||
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "SSLv3 support is not compiled into the OpenSSL library PHP is linked against");
|
||||
+ Return -1;
|
||||
+ return -1;
|
||||
+#else
|
||||
sslsock->is_client = 1;
|
||||
method = SSLv3_client_method();
|
||||
@ -22,7 +22,7 @@ $OpenBSD: patch-ext_openssl_xp_ssl_c,v 1.1 2015/07/18 20:54:19 sthen Exp $
|
||||
case STREAM_CRYPTO_METHOD_SSLv3_SERVER:
|
||||
+#ifdef OPENSSL_NO_SSL3
|
||||
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "SSLv3 support is not compiled into the OpenSSL library PHP is linked against");
|
||||
+ Return -1;
|
||||
+ return -1;
|
||||
+#else
|
||||
sslsock->is_client = 0;
|
||||
method = SSLv3_server_method();
|
||||
|
Loading…
x
Reference in New Issue
Block a user