home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 March (DVD) / PCWorld_2008-03_DVD.iso / komunikace / mysql / mysql-essential-5.0.45-win32.msi / product.cab / fili200 < prev    next >
Encoding:
Text File  |  2007-07-06  |  2.1 KB  |  46 lines

  1. /* Copyright (C) 2000 MySQL AB
  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 as published by
  5.    the Free Software Foundation; version 2 of the License.
  6.  
  7.    This program is distributed in the hope that it will be useful,
  8.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  9.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  10.    GNU General Public License for more details.
  11.  
  12.    You should have received a copy of the GNU General Public License
  13.    along with this program; if not, write to the Free Software
  14.    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
  15.  
  16. #ifdef HAVE_OPENSSL
  17.  
  18.   {"ssl", OPT_SSL_SSL,
  19.    "Enable SSL for connection (automatically enabled with other flags). Disable with --skip-ssl.",
  20.  (gptr*) &opt_use_ssl, (gptr*) &opt_use_ssl, 0, GET_BOOL, NO_ARG, 0, 0, 0,
  21.    0, 0, 0},
  22.   {"ssl-ca", OPT_SSL_CA,
  23.    "CA file in PEM format (check OpenSSL docs, implies --ssl).",
  24.    (gptr*) &opt_ssl_ca, (gptr*) &opt_ssl_ca, 0, GET_STR, REQUIRED_ARG,
  25.    0, 0, 0, 0, 0, 0},
  26.   {"ssl-capath", OPT_SSL_CAPATH,
  27.    "CA directory (check OpenSSL docs, implies --ssl).",
  28.    (gptr*) &opt_ssl_capath, (gptr*) &opt_ssl_capath, 0, GET_STR, REQUIRED_ARG,
  29.    0, 0, 0, 0, 0, 0},
  30.   {"ssl-cert", OPT_SSL_CERT, "X509 cert in PEM format (implies --ssl).",
  31.    (gptr*) &opt_ssl_cert, (gptr*) &opt_ssl_cert, 0, GET_STR, REQUIRED_ARG,
  32.    0, 0, 0, 0, 0, 0},
  33.   {"ssl-cipher", OPT_SSL_CIPHER, "SSL cipher to use (implies --ssl).",
  34.    (gptr*) &opt_ssl_cipher, (gptr*) &opt_ssl_cipher, 0, GET_STR, REQUIRED_ARG,
  35.    0, 0, 0, 0, 0, 0},
  36.   {"ssl-key", OPT_SSL_KEY, "X509 key in PEM format (implies --ssl).",
  37.    (gptr*) &opt_ssl_key, (gptr*) &opt_ssl_key, 0, GET_STR, REQUIRED_ARG,
  38.    0, 0, 0, 0, 0, 0},
  39. #ifdef MYSQL_CLIENT
  40.   {"ssl-verify-server-cert", OPT_SSL_VERIFY_SERVER_CERT,
  41.    "Verify server's \"Common Name\" in its cert against hostname used when connecting. This option is disabled by default.",
  42.    (gptr*) &opt_ssl_verify_server_cert, (gptr*) &opt_ssl_verify_server_cert,
  43.     0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
  44. #endif
  45. #endif /* HAVE_OPENSSL */
  46.