From 8126c7d037074a169fb182d60e7b6d07c41feaa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Tue, 24 Aug 2021 15:51:04 +0200 Subject: [PATCH] Fix typo ssl_p2_capath instead of ssl_p2s_capath --- lib/MySQL_Thread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/MySQL_Thread.cpp b/lib/MySQL_Thread.cpp index c9047d9c9..4c406d10d 100644 --- a/lib/MySQL_Thread.cpp +++ b/lib/MySQL_Thread.cpp @@ -1282,11 +1282,11 @@ char * MySQL_Threads_Handler::get_variable_string(char *name) { return strdup(variables.ssl_p2s_cert); } } - if (!strcmp(name,"ssl_p2_capath")) { - if (variables.ssl_p2_capath==NULL || strlen(variables.ssl_p2_capath)==0) { + if (!strcmp(name,"ssl_p2s_capath")) { + if (variables.ssl_p2s_capath==NULL || strlen(variables.ssl_p2s_capath)==0) { return NULL; } else { - return strdup(variables.ssl_p2_capath); + return strdup(variables.ssl_p2s_capath); } } if (!strcmp(name,"ssl_p2s_key")) {