X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ftcpip.c;h=2cff0508b6f63c5c2c7037a79428ead2d84562c3;hp=87557b2ee021681239440e1d444781e927f438c1;hb=82f131850739c5806dde4e868654581cb1352cc1;hpb=6eac80f3642f68e6d7ae5ed60574b96327d55051 diff --git a/src/tcpip.c b/src/tcpip.c index 87557b2..2cff050 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -774,10 +774,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,