X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ftcpip.c;h=02353c98de46b0d888c32bb6257e90bf4713119c;hp=6400e7d841b36342a2eb3f68aa83279323517c58;hb=61a2c61568817a54422e52a1fe242b8ee1857920;hpb=1e5f589925b0cbb16ea52243d300b02438fb3229 diff --git a/src/tcpip.c b/src/tcpip.c index 6400e7d..02353c9 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: tcpip.c,v 1.17 2005-07-19 12:40:52 mike Exp $ + * $Id: tcpip.c,v 1.18 2006-06-09 12:40:53 adam Exp $ */ /** * \file tcpip.c @@ -490,8 +490,7 @@ static int tcpip_bind(COMSTACK h, void *address, int mode) if (sp->ctx_alloc) { int res; - res = SSL_CTX_use_certificate_file (sp->ctx, sp->cert_fname, - SSL_FILETYPE_PEM); + res = SSL_CTX_use_certificate_chain_file(sp->ctx, sp->cert_fname); if (res <= 0) { ERR_print_errors_fp(stderr);