diff options
-rw-r--r-- | src/src/tls-gnu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/src/tls-gnu.c b/src/src/tls-gnu.c index f5c6a8bd6..71115edf5 100644 --- a/src/src/tls-gnu.c +++ b/src/src/tls-gnu.c @@ -1763,9 +1763,11 @@ else state->exp_tls_certificate = US state->tls_certificate; state->exp_tls_privatekey = US state->tls_privatekey; +#ifdef SUPPORT_GNUTLS_EXT_RAW_PARSE if (state->lib_state.ocsp_hook) gnutls_handshake_set_hook_function(state->session, GNUTLS_HANDSHAKE_ANY, GNUTLS_HOOK_POST, tls_server_hook_cb); +#endif } @@ -1871,12 +1873,11 @@ client-side params. */ if (!state->host) { -/*XXX DDD done-bit */ if (!dh_server_params) if ((rc = init_server_dh(errstr)) != OK) return rc; /* Unnecessary & discouraged with 3.6.0 or later */ - gnutls_certificate_set_dh_params(state->.lib_statex509_cred, dh_server_params); + gnutls_certificate_set_dh_params(state->lib_state.x509_cred, dh_server_params); } #endif |