9
3

sslopt-case.h 1006 B

12345678910111213141516171819202122232425262728
  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. case OPT_SSL_KEY:
  14. case OPT_SSL_CERT:
  15. case OPT_SSL_CA:
  16. case OPT_SSL_CAPATH:
  17. case OPT_SSL_CIPHER:
  18. /*
  19. Enable use of SSL if we are using any ssl option
  20. One can disable SSL later by using --skip-ssl or --ssl=0
  21. */
  22. opt_use_ssl= 1;
  23. break;
  24. #endif