~ubuntu-branches/ubuntu/quantal/gnutls26/quantal

« back to all changes in this revision

Viewing changes to lib/gnutls_dh.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-05-20 13:07:18 UTC
  • mfrom: (12.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110520130718-db41dybbanzfvlji
Tags: 2.10.5-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Fix build failure with --no-add-needed.
  - Build for multiarch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2008 Free Software Foundation
 
2
 * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2010 Free
 
3
 * Software Foundation, Inc.
3
4
 *
4
5
 * Author: Nikos Mavrogiannopoulos
5
6
 *
6
 
 * This file is part of GNUTLS.
 
7
 * This file is part of GnuTLS.
7
8
 *
8
 
 * The GNUTLS library is free software; you can redistribute it and/or
 
9
 * The GnuTLS is free software; you can redistribute it and/or
9
10
 * modify it under the terms of the GNU Lesser General Public License
10
11
 * as published by the Free Software Foundation; either version 2.1 of
11
12
 * the License, or (at your option) any later version.
111
112
}
112
113
 
113
114
/*-
114
 
  * _gnutls_get_dh_params - Returns the DH parameters pointer
115
 
  * @dh_params: is an DH parameters structure, or NULL.
116
 
  * @func: is a callback function to receive the parameters or NULL.
117
 
  * @session: a gnutls session.
118
 
  *
119
 
  * This function will return the dh parameters pointer.
120
 
  *
121
 
  -*/
 
115
 * _gnutls_get_dh_params - Returns the DH parameters pointer
 
116
 * @dh_params: is an DH parameters structure, or NULL.
 
117
 * @func: is a callback function to receive the parameters or NULL.
 
118
 * @session: a gnutls session.
 
119
 *
 
120
 * This function will return the dh parameters pointer.
 
121
 -*/
122
122
gnutls_dh_params_t
123
123
_gnutls_get_dh_params (gnutls_dh_params_t dh_params,
124
124
                       gnutls_params_function * func,