summaryrefslogtreecommitdiff
path: root/ext/openssl/openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/openssl.c')
-rw-r--r--ext/openssl/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index 9e9f4433d0..8e7f3b9244 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -778,7 +778,7 @@ static X509_STORE * setup_verify(zval * calist)
convert_to_string_ex(item);
- if (V_STAT(Z_STRVAL_PP(item), &sb) == -1) {
+ if (VCWD_STAT(Z_STRVAL_PP(item), &sb) == -1) {
zend_error(E_WARNING, "%s() unable to stat %s", get_active_function_name(), Z_STRVAL_PP(item));
continue;
}