Fix typo ssl_p2_capath instead of ssl_p2s_capath

pull/3577/head
René Cannaò 5 years ago committed by GitHub
parent 7762dea993
commit 8126c7d037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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")) {

Loading…
Cancel
Save