Module: kamailio
Branch: 4.3
Commit: f699719fed8b1fffc653c272c01941730dab6d3e
URL:
https://github.com/kamailio/kamailio/commit/f699719fed8b1fffc653c272c019417…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-10-20T20:27:30+02:00
tls: init tls hooks to {0}, avoiding fields enumeration
- if a new field is added, then should be no longer needed to update
initialization
(cherry picked from commit 92c7656a37549de0eed3621ec243022400f6c6c4)
---
Modified: tls_hooks.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f699719fed8b1fffc653c272c019417…
Patch:
https://github.com/kamailio/kamailio/commit/f699719fed8b1fffc653c272c019417…
---
diff --git a/tls_hooks.c b/tls_hooks.c
index 92e709f..b46a429 100644
--- a/tls_hooks.c
+++ b/tls_hooks.c
@@ -28,7 +28,7 @@
#ifdef TLS_HOOKS
-struct tls_hooks tls_hook= {0,0,0,0,0,0,0,0};
+struct tls_hooks tls_hook= {0};
static int tls_hooks_loaded=0;