diff options
author | Andrey Hristov <andrey@php.net> | 2015-11-10 11:53:19 +0100 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2015-11-12 16:19:16 +0100 |
commit | a530ecff978cbf2e67a774cae40899d3934c163a (patch) | |
tree | 05f7626849f498bb8736fc7779a9f8ac04741992 /ext/mysqlnd/mysqlnd_auth.c | |
parent | 654d1a7caf068c67560fd49c86cf6f6354322d6f (diff) | |
download | php-git-a530ecff978cbf2e67a774cae40899d3934c163a.tar.gz |
MNDR:
- better name for MYSQLND_PPEC - MYSQLND_PFC (protocol frame codec)
Diffstat (limited to 'ext/mysqlnd/mysqlnd_auth.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_auth.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ext/mysqlnd/mysqlnd_auth.c b/ext/mysqlnd/mysqlnd_auth.c index 33d6c11a1f..01868336dd 100644 --- a/ext/mysqlnd/mysqlnd_auth.c +++ b/ext/mysqlnd/mysqlnd_auth.c @@ -18,7 +18,6 @@ +----------------------------------------------------------------------+ */ -/* $Id: mysqlnd.c 307377 2011-01-11 13:02:57Z andrey $ */ #include "php.h" #include "mysqlnd.h" #include "mysqlnd_structs.h" @@ -360,7 +359,7 @@ mysqlnd_native_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_SESSION_OPTIONS * const session_options, - const MYSQLND_PPEC_OPTIONS * const ppec_options, + const MYSQLND_PFC_OPTIONS * const ppec_options, zend_ulong mysql_flags ) { @@ -420,7 +419,7 @@ mysqlnd_pam_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_SESSION_OPTIONS * const session_options, - const MYSQLND_PPEC_OPTIONS * const ppec_options, + const MYSQLND_PFC_OPTIONS * const ppec_options, zend_ulong mysql_flags ) { @@ -481,7 +480,7 @@ mysqlnd_xor_string(char * dst, const size_t dst_len, const char * xor_str, const static RSA * mysqlnd_sha256_get_rsa_key(MYSQLND_CONN_DATA * conn, const MYSQLND_SESSION_OPTIONS * const session_options, - const MYSQLND_PPEC_OPTIONS * const io_options + const MYSQLND_PFC_OPTIONS * const io_options ) { RSA * ret = NULL; @@ -570,7 +569,7 @@ mysqlnd_sha256_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_SESSION_OPTIONS * const session_options, - const MYSQLND_PPEC_OPTIONS * const ppec_options, + const MYSQLND_PFC_OPTIONS * const ppec_options, zend_ulong mysql_flags ) { @@ -580,7 +579,7 @@ mysqlnd_sha256_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self DBG_INF_FMT("salt(%d)=[%.*s]", auth_plugin_data_len, auth_plugin_data_len, auth_plugin_data); - if (conn->net->data->ssl) { + if (conn->protocol_frame_codec->data->ssl) { DBG_INF("simple clear text under SSL"); /* clear text under SSL */ *auth_data_len = passwd_len; |