[sr-dev] git:master:94649326: tls: field for server_id in default init of tls_domain_t structures

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 16 12:33:28 CET 2015


Module: kamailio
Branch: master
Commit: 9464932676adc8129796f1c981d96859bbb6123b
URL: https://github.com/kamailio/kamailio/commit/9464932676adc8129796f1c981d96859bbb6123b

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-11-16T12:32:41+01:00

tls: field for server_id in default init of tls_domain_t structures

---

Modified: modules/tls/tls_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/9464932676adc8129796f1c981d96859bbb6123b.diff
Patch: https://github.com/kamailio/kamailio/commit/9464932676adc8129796f1c981d96859bbb6123b.patch

---

diff --git a/modules/tls/tls_mod.c b/modules/tls/tls_mod.c
index 2d085d0..c4478b2 100644
--- a/modules/tls/tls_mod.c
+++ b/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 */
 };
 




More information about the sr-dev mailing list