projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab61788
)
Remove call to gnutls_global_init. tcpip_init already does it
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 26 Feb 2014 08:42:44 +0000
(09:42 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 26 Feb 2014 08:42:44 +0000
(09:42 +0100)
src/tcpip.c
patch
|
blob
|
history
diff --git
a/src/tcpip.c
b/src/tcpip.c
index
52d9de7
..
4ca0683
100644
(file)
--- a/
src/tcpip.c
+++ b/
src/tcpip.c
@@
-654,10
+654,7
@@
static int tcpip_bind(COMSTACK h, void *address, int mode)
if (h->type == ssl_type && !sp->session)
{
int res;
- gnutls_global_init();
-
tcpip_create_cred(h);
-
res = gnutls_certificate_set_x509_key_file(sp->cred_ptr->xcred,
sp->cert_fname,
sp->cert_fname,