com php-src: Store errors in openssl_random_pseudo_bytes : ext/openssl/openssl.c

From: Date: Sun, 14 Feb 2016 19:25:14 +0000
Subject: com php-src: Store errors in openssl_random_pseudo_bytes : ext/openssl/openssl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92441@lists.php.net to get a copy of this message
Commit: 4ea2a0fd60cdf75d746909198ea69f1e3e4ba193 Author: Jakub Zelenka <bukka@php.net> Sun, 14 Feb 2016 19:25:14 +0000 Parents: 664d693513c13a5b9b153e47e7b2d29c6311d43e Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4ea2a0fd60cdf75d746909198ea69f1e3e4ba193 Log: Store errors in openssl_random_pseudo_bytes Changed paths: M ext/openssl/openssl.c Diff: diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index a0a49da..26eb120 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -5827,6 +5827,8 @@ PHP_FUNCTION(openssl_random_pseudo_bytes) ZVAL_FALSE(zstrong_result_returned); } RETURN_FALSE; + } else { + php_openssl_store_errors(); } #endif

« previous php.cvs (#92441) next »