summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_auth.c
Commit message (Collapse)AuthorAgeFilesLines
* Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
|
* bump yearXinchen Hui2015-01-151-1/+1
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Add support for connect attributes, as of MySQL 5.6Andrey Hristov2013-01-151-1/+4
|
* Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-01-061-1/+1
|\
| * bump yearXinchen Hui2013-01-061-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA.Andrey Hristov2011-10-311-8/+8
| | | | | | | | | | A step in the direction of keeping internal data private
| * Move from directly referencing an aggregated structure to using aAndrey Hristov2011-10-251-18/+18
| | | | | | | | | | | | pointer to a structure. The structure is still aggregated but we add a level of indirection for possible plugins to overwrite the storage
| * MYSQLND_NET refactored not to use any direct reference to MYSQLND (the ↵Andrey Hristov2011-10-101-2/+0
| | | | | | | | | | | | | | connection) QC will need an ifdef-layer to compile with this
| * Add mysqli_error_list() that returns an array with errors. Typically onlyAndrey Hristov2011-08-041-3/+2
| | | | | | | | | | | | | | | | one and just one for libmysql. mysqlnd can return generate more than one error during its work and with mysqli_error() only the last error is being reported. In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found. The list is reset when the next command is executed
* | fix newly introduced segfaultAndrey Hristov2012-10-161-1/+1
| |
* | constifyAndrey Hristov2012-10-121-0/+1
| |
* | if ssl has been switched on transmit clear-text passwordAndrey Hristov2012-10-031-24/+31
| |
* | compile out example plugin in a release buildandrey2012-09-261-1/+1
| |
* | change public key setting to PERDIR and finish code that allowsandrey2012-09-251-1/+5
| | | | | | | | to set the key file programatically per mysqli_options()
* | remove old unicode code, that is was compiled out by using a macroandrey2012-09-251-4/+0
| |
* | Add SHA256 authentication support - password hashing to mysqlndandrey2012-09-251-3/+185
| | | | | | | | Automatic switchover to SSL with plain-text password is not part of this
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA.Andrey Hristov2011-10-311-8/+8
| | | | | | | | | | A step in the direction of keeping internal data private
* | Move from directly referencing an aggregated structure to using aAndrey Hristov2011-10-251-18/+18
| | | | | | | | | | | | pointer to a structure. The structure is still aggregated but we add a level of indirection for possible plugins to overwrite the storage
* | MYSQLND_NET refactored not to use any direct reference to MYSQLND (the ↵Andrey Hristov2011-10-101-2/+0
| | | | | | | | | | | | | | connection) QC will need an ifdef-layer to compile with this
* | Add mysqli_error_list() that returns an array with errors. Typically onlyAndrey Hristov2011-08-041-3/+2
|/ | | | | | | | one and just one for libmysql. mysqlnd can return generate more than one error during its work and with mysqli_error() only the last error is being reported. In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found. The list is reset when the next command is executed
* Use our own zend_strndup() implementation of strndup() -- Fixes build on ↵Kalle Sommer Nielsen2011-01-311-1/+1
| | | | platforms without strndup(), like Windows
* a better habitatAndrey Hristov2011-01-271-3/+3
|
* fix a crash in new codeAndrey Hristov2011-01-271-1/+3
|
* fix typosAndrey Hristov2011-01-241-2/+2
|
* small cleanupsAndrey Hristov2011-01-241-10/+2
|
* Handle MySQL 5.5 authentication features.Andrey Hristov2011-01-241-77/+252
| | | | | | | | Authentication protocol can be changed, a new raw packet is introduced, which includes only the "encrypted" data for the auth plugin, sent after change protocol (0xFE) is sent to the client.
* Update on the mysqlnd auth plugins, changed the pluginAndrey Hristov2011-01-141-21/+59
| | | | | | | | structure and where they load themselves. 0xFE packets (method switch) needs to be done, additional wire-level packet to be created to be parsed and the packet doesn't fit the PACKET_OK structure anymore.
* Change things to allow passing of the password lengthAndrey Hristov2011-01-141-0/+2
| | | | | | | to mysqlnd. This is needed as a password might include a \0 and thus we need to be binary safe.
* grok the MySQL 5.5 extended handshake.Andrey Hristov2011-01-121-0/+271
Move the authentication routines, the native ones, to separate file and encapsulate them in a plugin. Depending on the server version and what the server requests (or doesn't in old versions) load the authentication plugin to handle it. Currently only the 4.1+ authentication is supported. More to come