diff options
Diffstat (limited to 'lib/auth_dh_common.h')
-rw-r--r-- | lib/auth_dh_common.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/auth_dh_common.h b/lib/auth_dh_common.h index 0da5c59f92..a1400cac2c 100644 --- a/lib/auth_dh_common.h +++ b/lib/auth_dh_common.h @@ -2,22 +2,22 @@ # define AUTH_DH_COMMON typedef struct dh_info_st { - int secret_bits; + int secret_bits; - opaque prime[1025]; - size_t prime_size; - opaque generator[16]; - size_t generator_size; - opaque public_key[1025]; - size_t public_key_size; + opaque prime[1025]; + size_t prime_size; + opaque generator[16]; + size_t generator_size; + opaque public_key[1025]; + size_t public_key_size; } dh_info_t; int _gnutls_gen_dh_common_client_kx(gnutls_session, opaque **); int _gnutls_proc_dh_common_client_kx(gnutls_session session, opaque * data, - size_t _data_size, mpi_t p, mpi_t g); -int _gnutls_dh_common_print_server_kx( gnutls_session, mpi_t g, - mpi_t p, opaque** data); -int _gnutls_proc_dh_common_server_kx( gnutls_session session, opaque* data, - size_t _data_size); + size_t _data_size, mpi_t p, mpi_t g); +int _gnutls_dh_common_print_server_kx(gnutls_session, mpi_t g, + mpi_t p, opaque ** data); +int _gnutls_proc_dh_common_server_kx(gnutls_session session, opaque * data, + size_t _data_size); #endif |