Ver código fonte

tls: field for server_id in default init of tls_domain_t structures

Daniel-Constantin Mierla 9 anos atrás
pai
commit
9464932676
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      modules/tls/tls_mod.c

+ 3 - 0
modules/tls/tls_mod.c

@@ -101,6 +101,7 @@ static tls_domain_t mod_params = {
 	TLS_USE_TLSv1,    /* TLS method */
 	STR_STATIC_INIT(TLS_CRL_FILE), /* Certificate revocation list */
 	{0, 0},           /* Server name (SNI) */
+	{0, 0},           /* Server id */
 	0                 /* next */
 };
 
@@ -123,6 +124,7 @@ tls_domain_t srv_defaults = {
 	TLS_USE_TLSv1,    /* TLS method */
 	STR_STATIC_INIT(TLS_CRL_FILE), /* Certificate revocation list */
 	{0, 0},           /* Server name (SNI) */
+	{0, 0},           /* Server id */
 	0                 /* next */
 };
 
@@ -145,6 +147,7 @@ tls_domain_t cli_defaults = {
 	TLS_USE_TLSv1,    /* TLS method */
 	{0, 0}, /* Certificate revocation list */
 	{0, 0},           /* Server name (SNI) */
+	{0, 0},           /* Server id */
 	0                 /* next */
 };