aboutsummaryrefslogtreecommitdiff
path: root/dep/mysqllite/include/sslopt-case.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/mysqllite/include/sslopt-case.h')
-rw-r--r--dep/mysqllite/include/sslopt-case.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/dep/mysqllite/include/sslopt-case.h b/dep/mysqllite/include/sslopt-case.h
index adb9a28503b..3b64a225fe2 100644
--- a/dep/mysqllite/include/sslopt-case.h
+++ b/dep/mysqllite/include/sslopt-case.h
@@ -1,3 +1,6 @@
+#ifndef SSLOPT_CASE_INCLUDED
+#define SSLOPT_CASE_INCLUDED
+
/* Copyright (C) 2000 MySQL AB
This program is free software; you can redistribute it and/or modify
@@ -13,7 +16,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-#ifdef HAVE_OPENSSL
+#if defined(HAVE_OPENSSL) && !defined(EMBEDDED_LIBRARY)
case OPT_SSL_KEY:
case OPT_SSL_CERT:
case OPT_SSL_CA:
@@ -26,3 +29,4 @@
opt_use_ssl= 1;
break;
#endif
+#endif /* SSLOPT_CASE_INCLUDED */