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:
Nikos Mavrogiannopoulos
2014-01-11 21:54:20 +01:00
parent a5ae35a279
commit fd2d640e0a
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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.
+2 -1
View File
@@ -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 {