Print this page
7127  remove -Wno-missing-braces from Makefile.uts

@@ -155,24 +155,24 @@
         static crypto_mech_name_t       rsa_mechs[] = {
             "CKM_RSA_PKCS", "CKM_RSA_X_509", "CKM_MD5_RSA_PKCS",
             "CKM_SHA1_RSA_PKCS", "CKM_SHA256_RSA_PKCS", "CKM_SHA384_RSA_PKCS",
             "CKM_SHA512_RSA_PKCS", ""};
         static crypto_mech_name_t       swrand_mechs[] = {
-            "random", NULL};
+            "random", ""};
         static initial_soft_config_entry_t
             initial_soft_config_entry[] = {
-                "des", des_mechs,
-                "aes", aes_mechs,
-                "arcfour", arcfour_mechs,
-                "blowfish", blowfish_mechs,
-                "ecc", ecc_mechs,
-                "sha1", sha1_mechs,
-                "sha2", sha2_mechs,
-                "md4", md4_mechs,
-                "md5", md5_mechs,
-                "rsa", rsa_mechs,
-                "swrand", swrand_mechs
+                { "des", des_mechs },
+                { "aes", aes_mechs },
+                { "arcfour", arcfour_mechs },
+                { "blowfish", blowfish_mechs },
+                { "ecc", ecc_mechs },
+                { "sha1", sha1_mechs },
+                { "sha2", sha2_mechs },
+                { "md4", md4_mechs },
+                { "md5", md5_mechs },
+                { "rsa", rsa_mechs },
+                { "swrand", swrand_mechs }
         };
         const int       initial_soft_config_entries =
             sizeof (initial_soft_config_entry)
             / sizeof (initial_soft_config_entry_t);
         int             i;