diff options
Diffstat (limited to 'lib/auth/rsa.c')
-rw-r--r-- | lib/auth/rsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth/rsa.c b/lib/auth/rsa.c index 488569d3b7..c2203c7ed3 100644 --- a/lib/auth/rsa.c +++ b/lib/auth/rsa.c @@ -117,7 +117,7 @@ _gnutls_get_public_rsa_params(gnutls_session_t session, } // Get the negotiated server certificate type - cert_type = gnutls_certificate_type_get2(session, GNUTLS_CTYPE_SERVER); + cert_type = get_certificate_type(session, GNUTLS_CTYPE_SERVER); ret = _gnutls_get_auth_info_pcert(&peer_cert, cert_type, info); |