gnutls_init(session, GNUTLS_SERVER);
gnutls_priority_set(*session, cipherCache);
gnutls_init(session, GNUTLS_SERVER);
gnutls_priority_set(*session, cipherCache);
} while(error < GNUTLS_E_SUCCESS && !gnutls_error_is_fatal(error));
if ( error < GNUTLS_E_SUCCESS ) {
Log_fatal("TLS handshake failed with error %i (%s).", error, gnutls_strerror(error));
}
} while(error < GNUTLS_E_SUCCESS && !gnutls_error_is_fatal(error));
if ( error < GNUTLS_E_SUCCESS ) {
Log_fatal("TLS handshake failed with error %i (%s).", error, gnutls_strerror(error));
}