~ubuntu-branches/ubuntu/maverick/gnutls26/maverick-updates

« back to all changes in this revision

Viewing changes to lib/auth_anon.c

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2009-04-14 14:23:19 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090414142319-ok7xejzbqkofno1q
Tags: 2.6.5-1
* Sync sections in debian/control with override file. libgnutls26-dbg is
  section debug, guile-gnutls is section lisp.
* New upstream version. (Needed for Libtasn1-3 2.0)
* New patch 15_tasn1inpc.diff. Make sure libtasn1 is listed in Libs.private.
* Standards-Version: 3.8.1, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
#ifdef ENABLE_ANON
33
33
 
34
 
#include "gnutls_auth_int.h"
 
34
#include "gnutls_auth.h"
35
35
#include "gnutls_errors.h"
36
36
#include "gnutls_dh.h"
37
37
#include "auth_anon.h"
64
64
static int
65
65
gen_anon_server_kx (gnutls_session_t session, opaque ** data)
66
66
{
67
 
  mpi_t g, p;
68
 
  const mpi_t *mpis;
 
67
  bigint_t g, p;
 
68
  const bigint_t *mpis;
69
69
  int ret;
70
70
  gnutls_dh_params_t dh_params;
71
71
  gnutls_anon_server_credentials_t cred;
117
117
  gnutls_anon_server_credentials_t cred;
118
118
  int bits;
119
119
  int ret;
120
 
  mpi_t p, g;
 
120
  bigint_t p, g;
121
121
  gnutls_dh_params_t dh_params;
122
 
  const mpi_t *mpis;
 
122
  const bigint_t *mpis;
123
123
 
124
124
  bits = _gnutls_dh_get_allowed_prime_bits (session);
125
125