static int tcpip_init(void)
{
static int initialized = 0;
+ yaz_init_globals();
if (!initialized)
{
WORD requested;
#else
static int tcpip_init(void)
{
+ yaz_init_globals();
return 1;
}
#endif
#if HAVE_GNUTLS_H
if (h->type == ssl_type && !sp->session)
{
- gnutls_global_init();
tcpip_create_cred(h);
gnutls_init(&sp->session, GNUTLS_CLIENT);
gnutls_set_default_priority(sp->session);