summaryrefslogtreecommitdiff
path: root/lib/auth/dhe.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/auth/dhe.c')
-rw-r--r--lib/auth/dhe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth/dhe.c b/lib/auth/dhe.c
index cf6c9e53ce..9b5ea196ff 100644
--- a/lib/auth/dhe.c
+++ b/lib/auth/dhe.c
@@ -96,7 +96,7 @@ gen_dhe_server_kx(gnutls_session_t session, gnutls_buffer_st * data)
return GNUTLS_E_INSUFFICIENT_CREDENTIALS;
}
- if ((ret = _gnutls_auth_info_set(session, GNUTLS_CRD_CERTIFICATE,
+ if ((ret = _gnutls_auth_info_init(session, GNUTLS_CRD_CERTIFICATE,
sizeof(cert_auth_info_st),
1)) < 0) {
gnutls_assert();