mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-12 09:32:05 +08:00
increased sizes for ciphersuite name, and decreased maximum size for the DTLS ciphersuite (as we use openssl's short names)
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ struct proc_st {
|
|||||||
uint8_t cookie[COOKIE_SIZE]; /* the cookie associated with the session */
|
uint8_t cookie[COOKIE_SIZE]; /* the cookie associated with the session */
|
||||||
|
|
||||||
char tls_ciphersuite[MAX_CIPHERSUITE_NAME];
|
char tls_ciphersuite[MAX_CIPHERSUITE_NAME];
|
||||||
char dtls_ciphersuite[MAX_CIPHERSUITE_NAME];
|
char dtls_ciphersuite[MAX_DTLS_CIPHERSUITE_NAME];
|
||||||
|
|
||||||
/* if the session is initiated by a cookie the following two are set
|
/* if the session is initiated by a cookie the following two are set
|
||||||
* and are considered when generating an IP address.
|
* and are considered when generating an IP address.
|
||||||
|
|||||||
@@ -76,7 +76,8 @@ extern int syslog_open;
|
|||||||
|
|
||||||
#define LOG_HTTP_DEBUG 2048
|
#define LOG_HTTP_DEBUG 2048
|
||||||
|
|
||||||
#define MAX_CIPHERSUITE_NAME 48
|
#define MAX_CIPHERSUITE_NAME 64
|
||||||
|
#define MAX_DTLS_CIPHERSUITE_NAME 16
|
||||||
#define MAX_MSG_SIZE 256
|
#define MAX_MSG_SIZE 256
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|||||||
Reference in New Issue
Block a user