Index: cups/http.c =================================================================== --- cups/http.c (revision 10903) +++ cups/http.c (working copy) @@ -3892,6 +3892,8 @@ static int /* O - 0 on success, -1 on failure */ http_setup_ssl(http_t *http) /* I - Connection to server */ { + _cups_globals_t *cg = _cupsGlobals(); + /* Pointer to library globals */ int any_root; /* Allow any root */ char hostname[256], /* Hostname */ *hostptr; /* Pointer into hostname */ @@ -3905,8 +3907,6 @@ gnutls_certificate_client_credentials *credentials; /* TLS credentials */ # elif defined(HAVE_CDSASSL) - _cups_globals_t *cg = _cupsGlobals(); - /* Pointer to library globals */ OSStatus error; /* Error code */ const char *message = NULL;/* Error message */ # ifdef HAVE_SECCERTIFICATECOPYDATA