diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-06-19 19:19:00 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-06-19 19:19:00 +0000 |
commit | e9d5f40989e5bc54010753e9ce160d0e5ea5bd54 (patch) | |
tree | 2350a52ec59b0a34f96ee27789be71a5c4a13a9e /lib/auth_anon.c | |
parent | c0ad90a068b43068e6912c31e9613b2b9d1ea004 (diff) | |
download | gnutls-e9d5f40989e5bc54010753e9ce160d0e5ea5bd54.tar.gz |
removed unneeded code and added some kind of client support for RSA
ciphersuites
Diffstat (limited to 'lib/auth_anon.c')
-rw-r--r-- | lib/auth_anon.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/auth_anon.c b/lib/auth_anon.c index 1efd201d48..0f84020112 100644 --- a/lib/auth_anon.c +++ b/lib/auth_anon.c @@ -43,6 +43,7 @@ MOD_AUTH_STRUCT anon_auth_struct = { gen_anon_client_kx, NULL, NULL, + NULL, /* certificate */ proc_anon_server_kx, NULL, NULL, @@ -65,7 +66,7 @@ int _gnutls_generate_key(GNUTLS_KEY key) { } int gen_anon_server_kx( GNUTLS_KEY key, opaque** data) { - GNUTLS_MPI x, X, g, p; + MPI x, X, g, p; int bits; size_t n_X, n_g, n_p; uint8 *data_p; @@ -115,7 +116,7 @@ int gen_anon_server_kx( GNUTLS_KEY key, opaque** data) { } int gen_anon_client_kx( GNUTLS_KEY key, opaque** data) { -GNUTLS_MPI x, X; +MPI x, X; size_t n_X; int ret; |