MySQL 8.4.2
Source Code Documentation
sslopt-case.h
Go to the documentation of this file.
1/* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
2
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License, version 2.0,
5 as published by the Free Software Foundation.
6
7 This program is designed to work with certain software (including
8 but not limited to OpenSSL) that is licensed under separate terms,
9 as designated in a particular file or component or in included license
10 documentation. The authors of MySQL hereby grant you an additional
11 permission to link the program and your derivative works with the
12 separately licensed software that they have either included with
13 the program or referenced in the documentation.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License, version 2.0, for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
23
24#ifdef MYSQL_SERVER
25#error This header is supposed to be used only in the client
26#endif
27
31 break;
34 find_type_or_exit(argument, &ssl_fips_mode_typelib, opt->name) - 1;
35 break;
38 /* Don't change ssl-mode if set explicitly. */
40 break;
42case OPT_SSL_CERT:
44case OPT_SSL_CRL:
49 break;
@ OPT_TLS_SNI_SERVERNAME
Definition: client_priv.h:187
@ OPT_SSL_CIPHER
Definition: client_priv.h:78
@ OPT_SSL_CRL
Definition: client_priv.h:159
@ OPT_SSL_CERT
Definition: client_priv.h:75
@ OPT_TLS_VERSION
Definition: client_priv.h:170
@ OPT_SSL_SESSION_DATA
Definition: client_priv.h:183
@ OPT_SSL_CRLPATH
Definition: client_priv.h:160
@ OPT_SSL_CAPATH
Definition: client_priv.h:77
@ SSL_MODE_VERIFY_CA
Definition: mysql.h:276
case & ssl_mode_typelib
Definition: sslopt-case.h:29
ssl_mode_set_explicitly
Definition: sslopt-case.h:30
case OPT_SSL_MODE
Definition: sslopt-case.h:29
case OPT_SSL_FIPS_MODE
Definition: sslopt-case.h:34
case & ssl_fips_mode_typelib
Definition: sslopt-case.h:34
case OPT_SSL_KEY
Definition: sslopt-case.h:49
case OPT_SSL_CA
Definition: sslopt-case.h:39
static ulong opt_ssl_fips_mode
Definition: sslopt-vars.h:62
static uint opt_ssl_mode
Definition: sslopt-vars.h:52
int find_type_or_exit(const char *x, TYPELIB *typelib, const char *option)
Definition: typelib.cc:50