enabling encryption without crypto type)
which to group by data is specified. (Ilia)
- Upgraded PCRE to version 7.6 (Nuno)
+- Fixed bug #44028 (crash inside stream_socket_enable_crypto() when enabling
+ encryption without crypto type). (Ilia)
- Fixed bug #43981 (gmp_div_r() does not preserve the sign of 1st argument).
(Ilia)
- Fixed bug #43954 (Memory leak when sending the same HTTP status code
if (php_stream_xport_crypto_setup(stream, cryptokind, sessstream TSRMLS_CC) < 0) {
RETURN_FALSE;
}
+ } else if (enable) {
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "When enabling encryption you must specify the crypto type");
+ RETURN_FALSE;
}
ret = php_stream_xport_crypto_enable(stream, enable TSRMLS_CC);