summaryrefslogtreecommitdiff
path: root/ext/openssl/xp_ssl.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-06 18:57:41 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-06 19:05:57 +0200
commit0280b83e1179b3901f4c34c777c6232c5a3f99b8 (patch)
treef6173d916b9b74eab83f7f7d3bdfe6877cf11fce /ext/openssl/xp_ssl.c
parent4a0d6901bb00154e40237143a754234a266d2774 (diff)
downloadphp-git-0280b83e1179b3901f4c34c777c6232c5a3f99b8.tar.gz
Avoid some unnecessary uses of no_separation=0
For the rare cases where references are part of the API, construct them explicitly. Otherwise do not allow separation.
Diffstat (limited to 'ext/openssl/xp_ssl.c')
-rw-r--r--ext/openssl/xp_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c
index 9604feeb14..3e2b72d9db 100644
--- a/ext/openssl/xp_ssl.c
+++ b/ext/openssl/xp_ssl.c
@@ -1149,7 +1149,7 @@ static void php_openssl_limit_handshake_reneg(const SSL *ssl) /* {{{ */
/* Closing the stream inside this callback would segfault! */
stream->flags |= PHP_STREAM_FLAG_NO_FCLOSE;
- if (FAILURE == call_user_function_ex(NULL, NULL, val, &retval, 1, &param, 0, NULL)) {
+ if (FAILURE == call_user_function(NULL, NULL, val, &retval, 1, &param)) {
php_error(E_WARNING, "SSL: failed invoking reneg limit notification callback");
}
stream->flags ^= PHP_STREAM_FLAG_NO_FCLOSE;