Permalink
Browse files

NEWS entry new OpenSSL option [doc]

  • Loading branch information...
1 parent 4a01ddf commit 836a2b1131dd007edad24d921dbdf42a8ac10e32 @lstrojny lstrojny committed Jan 30, 2013
Showing with 5 additions and 1 deletion.
  1. +4 −0 NEWS
  2. +1 −1 ext/openssl/xp_ssl.c
View
4 NEWS
@@ -47,6 +47,10 @@ PHP NEWS
. Fixed bug #63916 (PDO::PARAM_INT casts to 32bit int internally even
on 64bit builds in pdo_sqlite). (srgoogleguy, Lars)
+- OpenSSL:
+ . New SSL stream context option to prevent CRIME attack vector. (Daniel Lowrey,
+ Lars)
+
17 Jan 2012, PHP 5.4.11
- Core:
View
@@ -398,7 +398,7 @@ static inline int php_openssl_setup_crypto(php_stream *stream,
#if OPENSSL_VERSION_NUMBER >= 0x10000000L
{
zval **val;
-
+
if (stream->context && SUCCESS == php_stream_context_get_option(
stream->context, "ssl", "disable_compression", &val) &&
zval_is_true(*val)) {

0 comments on commit 836a2b1

Please sign in to comment.