/*
- * "$Id: http.c,v 1.71 2000/12/19 15:10:38 mike Exp $"
+ * "$Id: http.c,v 1.72 2000/12/20 10:50:59 mike Exp $"
*
* HTTP routines for the Common UNIX Printing System (CUPS) scheduler.
*
break;
}
- context = SSL_CTX_new(TLSv1_method());
+ context = SSL_CTX_new(SSLv23_method());
conn = SSL_new(context);
SSL_set_fd(conn, http->fd);
#ifdef HAVE_LIBSSL
if (http->status == HTTP_SWITCHING_PROTOCOLS && !http->tls)
{
- context = SSL_CTX_new(TLSv1_method());
+ context = SSL_CTX_new(SSLv23_method());
conn = SSL_new(context);
SSL_set_fd(conn, http->fd);
/*
- * End of "$Id: http.c,v 1.71 2000/12/19 15:10:38 mike Exp $".
+ * End of "$Id: http.c,v 1.72 2000/12/20 10:50:59 mike Exp $".
*/
/*
- * "$Id: client.c,v 1.77 2000/12/19 15:10:41 mike Exp $"
+ * "$Id: client.c,v 1.78 2000/12/20 10:51:00 mike Exp $"
*
* Client routines for the Common UNIX Printing System (CUPS) scheduler.
*
SSL_CTX *context; /* Context for encryption */
SSL *conn; /* Connection for encryption */
- context = SSL_CTX_new(TLSv1_method());
+ context = SSL_CTX_new(SSLv23_method());
conn = SSL_new(context);
SSL_use_PrivateKey_file(conn, ServerKey, SSL_FILETYPE_PEM);
/*
- * End of "$Id: client.c,v 1.77 2000/12/19 15:10:41 mike Exp $".
+ * End of "$Id: client.c,v 1.78 2000/12/20 10:51:00 mike Exp $".
*/