sslopt-vars.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. /* Copyright (C) 2000 MySQL AB
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation; version 2 of the License.
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License
  10. along with this program; if not, write to the Free Software
  11. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
  12. #ifdef HAVE_OPENSSL
  13. #ifdef SSL_VARS_NOT_STATIC
  14. #define SSL_STATIC
  15. #else
  16. #define SSL_STATIC static
  17. #endif
  18. SSL_STATIC my_bool opt_use_ssl = 0;
  19. SSL_STATIC char *opt_ssl_ca = 0;
  20. SSL_STATIC char *opt_ssl_capath = 0;
  21. SSL_STATIC char *opt_ssl_cert = 0;
  22. SSL_STATIC char *opt_ssl_cipher = 0;
  23. SSL_STATIC char *opt_ssl_key = 0;
  24. #ifdef MYSQL_CLIENT
  25. SSL_STATIC my_bool opt_ssl_verify_server_cert= 0;
  26. #endif
  27. #endif