diff options
author | Johannes Schlüter <johannes@php.net> | 2018-06-06 00:17:34 +0200 |
---|---|---|
committer | Johannes Schlüter <johannes@php.net> | 2018-06-06 00:17:34 +0200 |
commit | d6e81f0bfd0cb90586dd83d4fd47a4302605261a (patch) | |
tree | c3e57467a65c5981ad2fd892eb01aa5c9e63cc98 /ext/mysqlnd/mysqlnd_auth.h | |
parent | 6c3b70e9a56d2f46cc2293c9821f46db9040d29b (diff) | |
download | php-git-d6e81f0bfd0cb90586dd83d4fd47a4302605261a.tar.gz |
Fix MySQL 8 auth
Diffstat (limited to 'ext/mysqlnd/mysqlnd_auth.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd_auth.h | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/ext/mysqlnd/mysqlnd_auth.h b/ext/mysqlnd/mysqlnd_auth.h index 8fc369abca..3ddb5a5f70 100644 --- a/ext/mysqlnd/mysqlnd_auth.h +++ b/ext/mysqlnd/mysqlnd_auth.h @@ -31,26 +31,9 @@ mysqlnd_auth_handshake(MYSQLND_CONN_DATA * conn, unsigned int server_charset_no, zend_bool use_full_blown_auth_packet, const char * const auth_protocol, - const zend_uchar * const auth_plugin_data, - const size_t auth_plugin_data_len, - char ** switch_to_auth_protocol, - size_t * switch_to_auth_protocol_len, - zend_uchar ** switch_to_auth_protocol_data, - size_t * switch_to_auth_protocol_data_len - ); - -enum_func_status -mysqlnd_auth_handshake(MYSQLND_CONN_DATA * conn, - const char * const user, - const char * const passwd, - const size_t passwd_len, - const char * const db, - const size_t db_len, - const MYSQLND_SESSION_OPTIONS * const session_options, - zend_ulong mysql_flags, - unsigned int server_charset_no, - zend_bool use_full_blown_auth_packet, - const char * const auth_protocol, + struct st_mysqlnd_authentication_plugin * auth_plugin, + const zend_uchar * const orig_auth_plugin_data, + const size_t orig_auth_plugin_data_len, const zend_uchar * const auth_plugin_data, const size_t auth_plugin_data_len, char ** switch_to_auth_protocol, |