9
3

sslopt-vars.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef SSLOPT_VARS_INCLUDED
  2. #define SSLOPT_VARS_INCLUDED
  3. /* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; version 2 of the License.
  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. You should have received a copy of the GNU General Public License
  12. along with this program; if not, write to the Free Software
  13. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
  14. #if defined(HAVE_OPENSSL) && !defined(EMBEDDED_LIBRARY)
  15. #ifdef SSL_VARS_NOT_STATIC
  16. #define SSL_STATIC
  17. #else
  18. #define SSL_STATIC static
  19. #endif
  20. SSL_STATIC my_bool opt_use_ssl = 0;
  21. SSL_STATIC char *opt_ssl_ca = 0;
  22. SSL_STATIC char *opt_ssl_capath = 0;
  23. SSL_STATIC char *opt_ssl_cert = 0;
  24. SSL_STATIC char *opt_ssl_cipher = 0;
  25. SSL_STATIC char *opt_ssl_key = 0;
  26. SSL_STATIC char *opt_ssl_crl = 0;
  27. SSL_STATIC char *opt_ssl_crlpath = 0;
  28. #ifdef MYSQL_CLIENT
  29. SSL_STATIC my_bool opt_ssl_verify_server_cert= 0;
  30. #endif
  31. #endif
  32. #endif /* SSLOPT_VARS_INCLUDED */