Allow for a ciphersuite negotiation

This commit is contained in:
Nikos Mavrogiannopoulos
2013-05-17 21:15:24 +02:00
parent 766d3bec7e
commit e8458828ee
2 changed files with 50 additions and 10 deletions
+6
View File
@@ -27,6 +27,7 @@ enum {
HEADER_HOSTNAME,
HEADER_CSTP_MTU,
HEADER_DTLS_MTU,
HEADER_DTLS_CIPHERSUITE,
};
enum {
@@ -50,6 +51,11 @@ struct http_req_st {
unsigned int master_secret_set;
char *body;
char *gnutls_ciphersuite; /* static string */
char *selected_ciphersuite; /* static string */
int gnutls_cipher;
int gnutls_mac;
unsigned int body_length;
unsigned int headers_complete;
unsigned int message_complete;