Browse code

tls: init tls hooks to {0}, avoiding fields enumeration

- if a new field is added, then should be no longer needed to update
initialization

Daniel-Constantin Mierla authored on 20/10/2015 17:44:47
Showing 1 changed files
... ...
@@ -28,7 +28,7 @@
28 28
 
29 29
 #ifdef TLS_HOOKS
30 30
 
31
-struct tls_hooks tls_hook= {0,0,0,0,0,0,0,0};
31
+struct tls_hooks tls_hook= {0};
32 32
 
33 33
 static int tls_hooks_loaded=0;
34 34