summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-06-09 11:04:40 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-06-10 21:20:28 +0200
commit6c9db02ff7812c298d1e7e292ba731d9d3a66790 (patch)
treec7cfa23b3578066915556d5ae2faf807ffdf74ac
parentf9d1d1f36f0ac7e8a8f1f04e6b6769f09a16b764 (diff)
downloadphp-git-6c9db02ff7812c298d1e7e292ba731d9d3a66790.tar.gz
Fix mysqlnd build without openssl
Cherry-pick of 968eb0b38cc9095d418beb8f0df08c4b9abdb079, as these changes were also introduced in lower branches.
-rw-r--r--ext/mysqlnd/mysqlnd_auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_auth.c b/ext/mysqlnd/mysqlnd_auth.c
index 0520891d5a..66e93cf636 100644
--- a/ext/mysqlnd/mysqlnd_auth.c
+++ b/ext/mysqlnd/mysqlnd_auth.c
@@ -1050,6 +1050,7 @@ mysqlnd_caching_sha2_get_and_use_key(MYSQLND_CONN_DATA *conn,
}
DBG_RETURN(0);
#else
+ DBG_ENTER("mysqlnd_caching_sha2_get_and_use_key(");
php_error_docref(NULL, E_WARNING, "PHP was built without openssl extension, can't send password encrypted");
DBG_RETURN(0);
#endif