[gnutls-help] Setting DH params when only gnutls_session_t is available ?

Hani B kroosec at gmail.com
Fri Mar 28 10:18:00 CET 2014

Hi list,

I am trying to set the Diffie-Hellman parameters in a case where the library I
use (Libmicrohttpd) only exposes the gnutls_session_t value, but not the
gnutls_certificate_credentials_t value (to use with gnutls_certificate_set_dh_params().)

I am wondering if:
1. There is a way to set the DH parameters using the session ?
2. Is there a way to get the certificate_credentials_t record from the session,
and thus be able to set the DH parameters using it ?


More information about the Gnutls-help mailing list