From d9f773eae0bf2d158012dfe55139ffdc6b1c57ff Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 27 Feb 2018 23:56:36 +0100 Subject: Manually roll back all changes for #2979 Those will be moved to a different branch for the time being since other stuff needs to be changed first --- Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h') diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h index 0faa3e02..343d0d36 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h @@ -61,7 +61,6 @@ pthread_t reconnectingThread; uint64_t initialConnectTime; unsigned long mysqlConnectionThreadId; - BOOL allowCleartextPlugin; // Connection proxy NSObject *proxy; @@ -176,23 +175,6 @@ - (void)addClientFlags:(SPMySQLClientFlags)opts; - (void)removeClientFlags:(SPMySQLClientFlags)opts; -/** - * This tells the mysql client whether the cleartext auth plugin is permitted. - * - * If enabled, and requested by the server, the password will simply be transmitted - * in plaintext, instead of hashing it on the client first, thus this plugin is - * rather risky. It is mostly used when the server has to forward the password to another - * auth backend (which it can't do with the one-way hash). - * - * If it is not enabled, but requested by the server the connection will fail with - * error "plugin not enabled (2059)" - * - * WARNING: There are 2 ways to enable this plugin: Via this property or by setting - * the envvar LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN to 1. Sadly ANY ONE of those two is - * sufficient to enable the plugin. - */ -@property (readwrite, assign, nonatomic) BOOL allowCleartextPlugin; - #pragma mark - #pragma mark Connection and disconnection -- cgit v1.2.3