diff options
Diffstat (limited to 'lib/auth/ecdhe.c')
-rw-r--r-- | lib/auth/ecdhe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth/ecdhe.c b/lib/auth/ecdhe.c index 8b55704b28..ef9d822714 100644 --- a/lib/auth/ecdhe.c +++ b/lib/auth/ecdhe.c @@ -491,7 +491,7 @@ gen_ecdhe_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(); |