projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SSL comstack uses SL_CTX_use_certificate_chain_file rather than
[yaz-moved-to-github.git]
/
src
/
tcpip.c
diff --git
a/src/tcpip.c
b/src/tcpip.c
index
6400e7d
..
02353c9
100644
(file)
--- 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.
*
* 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
*/
/**
* \file tcpip.c
@@
-490,8
+490,7
@@
static int tcpip_bind(COMSTACK h, void *address, int mode)
if (sp->ctx_alloc)
{
int res;
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);
if (res <= 0)
{
ERR_print_errors_fp(stderr);