pajoye Sat Jul 29 22:39:51 2006 UTC Modified files: /php-src/ext/openssl openssl.c Log: - #38255, fails on array as well http://cvs.php.net/viewvc.cgi/php-src/ext/openssl/openssl.c?r1=1.108&r2=1.109&diff_format=u Index: php-src/ext/openssl/openssl.c diff -u php-src/ext/openssl/openssl.c:1.108 php-src/ext/openssl/openssl.c:1.109 --- php-src/ext/openssl/openssl.c:1.108 Sat Jul 29 22:24:48 2006 +++ php-src/ext/openssl/openssl.c Sat Jul 29 22:39:51 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: openssl.c,v 1.108 2006/07/29 22:24:48 pajoye Exp $ */ +/* $Id: openssl.c,v 1.109 2006/07/29 22:39:51 pajoye Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1824,7 +1824,8 @@ return NULL; } else { /* force it to be a string and check if it refers to a file */ - if (Z_TYPE_PP(val) == IS_LONG || Z_TYPE_PP(val) == IS_BOOL) { + if (Z_TYPE_PP(val) == IS_LONG || Z_TYPE_PP(val) == IS_BOOL + || Z_TYPE_PP(val) == IS_ARRAY) { return NULL; } convert_to_string_ex(val);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php