mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Revert all MySQL auth related changes
Per bug #76651 these changes do not appear to work correctly in some cases. As no immediate fix seems to be forthcoming, I'm reverting these changes. Revert "Fixed invalid free introduced byd6e81f0bfd
(avoid keeping "invalid" pointer)" This reverts commit11507c0e1b
. Revert "Fix mysqlnd build without openssl" This reverts commit6c9db02ff7
. Revert "Fix VC compilation as variable size array is not supported" This reverts commitf96df64cb2
. Revert "Fix MySQL 8 auth" This reverts commitd6e81f0bfd
.
This commit is contained in:
parent
f1f39d7ed7
commit
03740ef7df
7 changed files with 29 additions and 425 deletions
|
@ -292,16 +292,6 @@ typedef struct st_mysqlnd_packet_sha256_pk_request_response {
|
|||
size_t public_key_len;
|
||||
} MYSQLND_PACKET_SHA256_PK_REQUEST_RESPONSE;
|
||||
|
||||
typedef struct st_mysqlnd_packet_cached_sha2_result {
|
||||
MYSQLND_PACKET_HEADER header;
|
||||
uint8_t response_code;
|
||||
uint8_t result;
|
||||
uint8_t request;
|
||||
zend_uchar * password;
|
||||
size_t password_len;
|
||||
} MYSQLND_PACKET_CACHED_SHA2_RESULT;
|
||||
|
||||
|
||||
|
||||
zend_ulong php_mysqlnd_net_field_length(const zend_uchar **packet);
|
||||
zend_uchar * php_mysqlnd_net_store_length(zend_uchar *packet, const uint64_t length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue