com php-src: fix macro names: ext/openssl/xp_ssl.c

From: Date: Fri, 21 Feb 2014 17:21:05 +0000
Subject: com php-src: fix macro names: ext/openssl/xp_ssl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-76184@lists.php.net to get a copy of this message
Commit: a4de08ea89afb601ea85cfa51ddaedf6ac386ae6 Author: Anatol Belski <ab@php.net> Fri, 21 Feb 2014 18:21:05 +0100 Parents: ff5f498f5893807f29bd1e37fe164e23bdf3cd9b Branches: str_size_and_int64_56_backport Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a4de08ea89afb601ea85cfa51ddaedf6ac386ae6 Log: fix macro names Changed paths: M ext/openssl/xp_ssl.c Diff: diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index f5a8713..634c266 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -394,8 +394,8 @@ static inline void init_handshake_limiting(php_stream *stream, php_openssl_netst SUCCESS == php_stream_context_get_option(stream->context, "ssl", "reneg_limit", &val) ) { - convert_to_long(*val); - limit = Z_LVAL_PP(val); + convert_to_int(*val); + limit = Z_IVAL_PP(val); } /* No renegotiation rate-limiting */ @@ -407,8 +407,8 @@ static inline void init_handshake_limiting(php_stream *stream, php_openssl_netst SUCCESS == php_stream_context_get_option(stream->context, "ssl", "reneg_window", &val) ) { - convert_to_long(*val); - window = Z_LVAL_PP(val); + convert_to_int(*val); + window = Z_IVAL_PP(val); } sslsock->reneg = (void*)pemalloc(sizeof(php_openssl_handshake_bucket_t),

« previous php.cvs (#76184) next »