Fix mysqlnd build without openssl

Cherry-pick of 968eb0b38c, as these
changes were also introduced in lower branches.
This commit is contained in:
Nikita Popov 2018-06-09 11:04:40 +02:00
parent f9d1d1f36f
commit 6c9db02ff7

View file

@ -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