mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
Allow for a ciphersuite negotiation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user