| 505 | */ |
| 506 | |
| 507 | http_t * /* O - New HTTP connection */ |
| 508 | httpConnectEncrypt( |
| 509 | const char *host, /* I - Host to connect to */ |
| 510 | int port, /* I - Port number */ |
| 511 | http_encryption_t encryption) /* I - Type of encryption to use */ |
| 512 | { |
| 513 | DEBUG_printf(("httpConnectEncrypt(host=\"%s\", port=%d, encryption=%d)", |
| 514 | host, port, encryption)); |
| 515 | |
| 516 | return (httpConnect2(host, port, NULL, AF_UNSPEC, encryption, 1, 30000, |
| 517 | NULL)); |
| 518 | } |
| 519 | |
| 520 | |
| 521 | /* |