diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-02-13 18:03:31 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-02-13 18:03:31 +0000 |
commit | f577c848c249c3e9499117d7c58d9251ae37bdc7 (patch) | |
tree | e66b1d4d26acb80291c7b7d887481d71648022dc /lib/gnutls_state.h | |
parent | 49cdd41f1678b93823a10a84fa2e68b39742abdf (diff) | |
download | gnutls-f577c848c249c3e9499117d7c58d9251ae37bdc7.tar.gz |
Added more functions to allow access to Diffie Hellman parameters
(partially at least). Corrected Diffie Hellman stuff.
Diffstat (limited to 'lib/gnutls_state.h')
-rw-r--r-- | lib/gnutls_state.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gnutls_state.h b/lib/gnutls_state.h index e112c8bd35..c9f058b35d 100644 --- a/lib/gnutls_state.h +++ b/lib/gnutls_state.h @@ -15,5 +15,10 @@ CertificateType gnutls_cert_type_get( GNUTLS_STATE state); #endif int _gnutls_state_cert_type_supported( GNUTLS_STATE, CertificateType); +int _gnutls_dh_set_peer_public_bits( GNUTLS_STATE state, int bits); +int _gnutls_dh_set_secret_bits( GNUTLS_STATE state, int bits); +int _gnutls_dh_set_prime_bits( GNUTLS_STATE state, int bits); +int _gnutls_dh_get_prime_bits( GNUTLS_STATE state); +void gnutls_dh_set_prime_bits( GNUTLS_STATE state, int bits); #define DEFAULT_CERT_TYPE GNUTLS_CRT_X509 |