]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/openssl.c
Correctly zero the DISPLAY_COLUMNS structure.
[thirdparty/openssl.git] / apps / openssl.c
index 119d3e8ff679622df8726b5fdd4ec7ed3754cc08..6bb27853fe6fc85b2946e06cb9fe6a5b7d400a00 100644 (file)
@@ -715,8 +715,9 @@ static void list_type(FUNC_TYPE ft, int one)
 {
     FUNCTION *fp;
     int i = 0;
-    DISPLAY_COLUMNS dc = {0};
+    DISPLAY_COLUMNS dc;
 
+    memset(&dc, 0, sizeof(dc));
     if (!one)
         calculate_columns(&dc);