summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 1b9e21dcfc..d61b7d5d36 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -576,7 +576,9 @@ typedef struct {
/* holds the index of the selected certificate.
* -1 if none.
*/
- int selected_cert_index;
+ gnutls_cert* selected_cert_list;
+ int selected_cert_list_length;
+ gnutls_privkey* selected_key;
/* holds the extensions we sent to the peer
* (in case of a client)
@@ -646,8 +648,9 @@ struct gnutls_session_int {
typedef struct gnutls_session_int *gnutls_session;
typedef struct {
- GNUTLS_MPI _prime;
- GNUTLS_MPI _generator;
+ /* [0] is the prime, [1] is the generator.
+ */
+ GNUTLS_MPI params[2];
} _gnutls_dh_params;
#define gnutls_dh_params _gnutls_dh_params*