2 ===================================================================
3 --- cups/http.c (revision 9908)
4 +++ cups/http.c (revision 9909)
6 any_root = cg->any_root;
11 context = SSL_CTX_new(SSLv23_client_method());
13 SSL_CTX_set_options(context, SSL_OP_NO_SSLv2); /* Only use SSLv3 or TLS */
15 BIO_ctrl(bio, BIO_C_SET_FILE_PTR, 0, (char *)http);
17 http->tls = SSL_new(context);
18 - SSL_set_bio(http->tls_credentials, bio, bio);
19 + SSL_set_bio(http->tls, bio, bio);
21 if (SSL_connect(http->tls) != 1)
23 @@ -4200,11 +4202,11 @@
25 SSL_CTX *context; /* Context for encryption */
27 - context = SSL_get_SSL_CTX(http->tls_credentials);
28 + context = SSL_get_SSL_CTX(http->tls);
30 - SSL_shutdown(http->tls_credentials);
31 + SSL_shutdown(http->tls);
32 SSL_CTX_free(context);
33 - SSL_free(http->tls_credentials);
34 + SSL_free(http->tls);
36 # elif defined(HAVE_GNUTLS)
37 gnutls_certificate_client_credentials *credentials;