* Local globals...
*/
-static int tls_options = -1;/* Options for TLS connections */
+static unsigned int tls_options = _HTTP_TLS_NONE; /* Options for TLS connections */
/*
*/
void
-_httpTLSSetOptions(int options) /* I - Options */
+_httpTLSSetOptions(unsigned int options) /* I - Options */
{
tls_options = options;
}
DEBUG_printf(("3_httpTLSStart(http=%p)", http));
- if (tls_options < 0)
+ if ((tls_options == _HTTP_TLS_UNCHANGED) || (tls_options == _HTTP_TLS_NONE))
{
DEBUG_puts("4_httpTLSStart: Setting defaults.");
_cupsSetDefaults();