| 133 | |
| 134 | #ifdef HAVE_TLS |
| 135 | else if (status == HTTP_STATUS_UPGRADE_REQUIRED) |
| 136 | { |
| 137 | /* |
| 138 | * Force a reconnect with encryption... |
| 139 | */ |
| 140 | |
| 141 | DEBUG_puts("2cupsGetDevices: Need encryption..."); |
| 142 | |
| 143 | if (!httpReconnect2(http, 30000, NULL)) |
| 144 | httpEncryption(http, HTTP_ENCRYPTION_REQUIRED); |
| 145 | } |
| 146 | #endif /* HAVE_TLS */ |
| 147 | } |
| 148 | } |
nothing calls this directly
no test coverage detected