Print this page
fixup .text where possible
7127  remove -Wno-missing-braces from Makefile.uts

@@ -62,13 +62,13 @@
         "MD5 Kernel SW Provider"
 };
 
 static struct modlinkage modlinkage = {
         MODREV_1,
-        (void *)&modlmisc,
+        {   (void *)&modlmisc,
         (void *)&modlcrypto,
-        NULL
+            NULL }
 };
 
 /*
  * CSPI information (entry points, provider info, etc.)
  */

@@ -204,36 +204,36 @@
         md5_create_ctx_template,
         md5_free_context
 };
 
 static crypto_ops_t md5_crypto_ops = {
-        &md5_control_ops,
-        &md5_digest_ops,
-        NULL,
-        &md5_mac_ops,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        &md5_ctx_ops
+        .co_control_ops = &md5_control_ops,
+        .co_digest_ops = &md5_digest_ops,
+        .co_cipher_ops = NULL,
+        .co_mac_ops = &md5_mac_ops,
+        .co_sign_ops = NULL,
+        .co_verify_ops = NULL,
+        .co_dual_ops = NULL,
+        .co_dual_cipher_mac_ops = NULL,
+        .co_random_ops = NULL,
+        .co_session_ops = NULL,
+        .co_object_ops = NULL,
+        .co_key_ops = NULL,
+        .co_provider_ops = NULL,
+        .co_ctx_ops = &md5_ctx_ops
 };
 
-static crypto_provider_info_t md5_prov_info = {
+static crypto_provider_info_t md5_prov_info = {{{{
         CRYPTO_SPI_VERSION_1,
         "MD5 Software Provider",
         CRYPTO_SW_PROVIDER,
         {&modlinkage},
         NULL,
         &md5_crypto_ops,
         sizeof (md5_mech_info_tab)/sizeof (crypto_mech_info_t),
         md5_mech_info_tab
-};
+}}}};
 
 static crypto_kcf_provider_handle_t md5_prov_handle = NULL;
 
 int
 _init(void)