summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cf245e9)
SSL_library_init() rather than SSLeay_add_all_algorithms(). Works fine
with libssl0.9.6 (woody) and libssl0.9.8(etch).
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: tcpip.c,v 1.33 2007-01-03 08:42:15 adam Exp $
+ * $Id: tcpip.c,v 1.34 2007-01-19 10:28:42 adam Exp $
#if HAVE_OPENSSL_SSL_H
if (h->type == ssl_type && !sp->ctx)
{
#if HAVE_OPENSSL_SSL_H
if (h->type == ssl_type && !sp->ctx)
{
SSL_load_error_strings();
SSL_load_error_strings();
- SSLeay_add_all_algorithms();
sp->ctx = sp->ctx_alloc = SSL_CTX_new (SSLv23_method());
if (!sp->ctx)
sp->ctx = sp->ctx_alloc = SSL_CTX_new (SSLv23_method());
if (!sp->ctx)
#if HAVE_OPENSSL_SSL_H
if (h->type == ssl_type && !sp->ctx)
{
#if HAVE_OPENSSL_SSL_H
if (h->type == ssl_type && !sp->ctx)
{
SSL_load_error_strings();
SSL_load_error_strings();
- SSLeay_add_all_algorithms();
sp->ctx = sp->ctx_alloc = SSL_CTX_new (SSLv23_method());
if (!sp->ctx)
sp->ctx = sp->ctx_alloc = SSL_CTX_new (SSLv23_method());
if (!sp->ctx)