#endif
0
};
- const int mixed_proto[] = { GNUTLS_VERSION_MAX, GNUTLS_TLS1_1, GNUTLS_TLS1_0, GNUTLS_SSL3, 0 };
+ const int mixed_proto[] =
+ {
+#ifdef GNUTLS_VERSION_MAX
+ GNUTLS_VERSION_MAX,
+#endif
+ GNUTLS_TLS1_1,
+ GNUTLS_TLS1_0,
+ GNUTLS_SSL3,
+ 0
+ };
switch (svr->type & ECORE_CON_SSL)
{
#endif
0
};
- const int mixed_proto[] = { GNUTLS_VERSION_MAX, GNUTLS_TLS1_1, GNUTLS_TLS1_0, GNUTLS_SSL3, 0 };
+ const int mixed_proto[] =
+ {
+#ifdef GNUTLS_VERSION_MAX
+ GNUTLS_VERSION_MAX,
+#endif
+ GNUTLS_TLS1_1,
+ GNUTLS_TLS1_0,
+ GNUTLS_SSL3,
+ 0 };
switch (cl->server->type & ECORE_CON_SSL)
{