diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-06-04 13:24:18 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-06-04 13:24:18 +0000 |
commit | 0967470bf44d67ca43cb958f55c8d0685f2add1e (patch) | |
tree | 77dce09f12e5681993b05521ccb2a293d60e34af /lib/gnutls_state.h | |
parent | 023322da75b4c46f5361de32b11f3967cf736d1b (diff) | |
download | gnutls-0967470bf44d67ca43cb958f55c8d0685f2add1e.tar.gz |
added function to access the DH (peer's) public key.
Diffstat (limited to 'lib/gnutls_state.h')
-rw-r--r-- | lib/gnutls_state.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_state.h b/lib/gnutls_state.h index 0a26bf7757..90199e25f5 100644 --- a/lib/gnutls_state.h +++ b/lib/gnutls_state.h @@ -19,10 +19,10 @@ gnutls_certificate_type gnutls_certificate_type_get( gnutls_session session); int _gnutls_session_cert_type_supported( gnutls_session, gnutls_certificate_type); -int _gnutls_dh_set_peer_public_bits( gnutls_session session, uint bits); int _gnutls_dh_set_secret_bits( gnutls_session session, uint bits); -int _gnutls_dh_set_prime( gnutls_session session, GNUTLS_MPI gen, GNUTLS_MPI prime); +int _gnutls_dh_set_peer_public( gnutls_session session, mpi_t public); +int _gnutls_dh_set_prime( gnutls_session session, mpi_t gen, mpi_t prime); int _gnutls_dh_get_allowed_prime_bits( gnutls_session session); void gnutls_dh_set_prime_bits( gnutls_session session, unsigned int bits); |