summaryrefslogtreecommitdiff
path: root/lib/gnutls_state.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-05-22 11:55:33 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-05-22 13:37:59 +0200
commitf099342688710138ba8cd94e47846bda5c331faf (patch)
tree5782228c5fa01060673e3273c583e22b70b25202 /lib/gnutls_state.h
parent8dcf7e8299fed143c2e61500da55b5e5910eb54c (diff)
downloadgnutls-f099342688710138ba8cd94e47846bda5c331faf.tar.gz
gnutls_pk_params_st is used internally to transfer public key parameters. This replaces the raw bigint_t arrays.
Diffstat (limited to 'lib/gnutls_state.h')
-rw-r--r--lib/gnutls_state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_state.h b/lib/gnutls_state.h
index 7e51463d8e..3266dd999d 100644
--- a/lib/gnutls_state.h
+++ b/lib/gnutls_state.h
@@ -31,7 +31,7 @@
void _gnutls_session_cert_type_set (gnutls_session_t session,
gnutls_certificate_type_t);
-inline static ecc_curve_t _gnutls_session_ecc_curve_get(gnutls_session_t session)
+inline static gnutls_ecc_curve_t _gnutls_session_ecc_curve_get(gnutls_session_t session)
{
return session->security_parameters.ecc_curve;
}
@@ -40,7 +40,7 @@ int _gnutls_session_is_ecc (gnutls_session_t session);
void
_gnutls_session_ecc_curve_set (gnutls_session_t session,
- ecc_curve_t c);
+ gnutls_ecc_curve_t c);
void
_gnutls_record_set_default_version (gnutls_session_t session,