Module: kamailio Branch: master Commit: 92c7656a37549de0eed3621ec243022400f6c6c4 URL: https://github.com/kamailio/kamailio/commit/92c7656a37549de0eed3621ec2430224...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2015-10-20T19:44:47+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
---
Modified: tls_hooks.c
---
Diff: https://github.com/kamailio/kamailio/commit/92c7656a37549de0eed3621ec2430224... Patch: https://github.com/kamailio/kamailio/commit/92c7656a37549de0eed3621ec2430224...
---
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;