Loading sql-common/client.c +5 −5 Original line number Diff line number Diff line Loading @@ -1611,8 +1611,8 @@ static int ssl_verify_server_cert(Vio *vio, const char* server_hostname) cp1= strstr(buf, "/CN="); if (cp1) { cp1 += 4; // Skip the "/CN=" that we found // Search for next / which might be the delimiter for email cp1+= 4; /* Skip the "/CN=" that we found */ /* Search for next / which might be the delimiter for email */ cp2= strchr(cp1, '/'); if (cp2) *cp2= '\0'; Loading Loading
sql-common/client.c +5 −5 Original line number Diff line number Diff line Loading @@ -1611,8 +1611,8 @@ static int ssl_verify_server_cert(Vio *vio, const char* server_hostname) cp1= strstr(buf, "/CN="); if (cp1) { cp1 += 4; // Skip the "/CN=" that we found // Search for next / which might be the delimiter for email cp1+= 4; /* Skip the "/CN=" that we found */ /* Search for next / which might be the delimiter for email */ cp2= strchr(cp1, '/'); if (cp2) *cp2= '\0'; Loading