static gnutls_anon_server_credentials vnc_tls_initialize_anon_cred(void)

{

    gnutls_anon_server_credentials anon_cred;

    int ret;



    if ((ret = gnutls_anon_allocate_server_credentials(&anon_cred)) < 0) {

	VNC_DEBUG("Cannot allocate credentials %s\n", gnutls_strerror(ret));

	return NULL;

    }



    gnutls_anon_set_server_dh_params(anon_cred, dh_params);



    return anon_cred;

}

static gnutls_anon_server_credentials vnc_tls_initialize_anon_cred(void)

{

    gnutls_anon_server_credentials anon_cred;

    int ret;



    if ((ret = gnutls_anon_allocate_server_credentials(&anon_cred)) < 0) {

	VNC_DEBUG("Cannot allocate credentials %s\n", gnutls_strerror(ret));

	return NULL;

    }



    gnutls_anon_set_server_dh_params(anon_cred, dh_params);



    return anon_cred;

}

static gnutls_anon_server_credentials FUNC_0(void)

{

    gnutls_anon_server_credentials anon_cred;

    int VAR_0;



    if ((VAR_0 = gnutls_anon_allocate_server_credentials(&anon_cred)) < 0) {

	VNC_DEBUG("Cannot allocate credentials %s\n", gnutls_strerror(VAR_0));

	return NULL;

    }



    gnutls_anon_set_server_dh_params(anon_cred, dh_params);



    return anon_cred;

}

static gnutls_anon_server_credentials FUNC_0(void)
{ gnutls_anon_server_credentials anon_cred; int VAR_0; if ((VAR_0 = gnutls_anon_allocate_server_credentials(&anon_cred)) < 0) { VNC_DEBUG("Cannot allocate credentials %s\n", gnutls_strerror(VAR_0)); return NULL; } gnutls_anon_set_server_dh_params(anon_cred, dh_params); return anon_cred; }