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

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

@@ -125,36 +125,36 @@
         md4_digest_final,
         md4_digest_atomic
 };
 
 static crypto_ops_t md4_crypto_ops = {
-        &md4_control_ops,
-        &md4_digest_ops,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
+        .co_control_ops = &md4_control_ops,
+        .co_digest_ops = &md4_digest_ops,
+        .co_cipher_ops = NULL,
+        .co_mac_ops = NULL,
+        .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 = NULL
 };
 
-static crypto_provider_info_t md4_prov_info = {
+static crypto_provider_info_t md4_prov_info = {{{{
         CRYPTO_SPI_VERSION_1,
         "MD4 Software Provider",
         CRYPTO_SW_PROVIDER,
         {&modlinkage},
         NULL,
         &md4_crypto_ops,
         sizeof (md4_mech_info_tab)/sizeof (crypto_mech_info_t),
         md4_mech_info_tab
-};
+}}}};
 
 static crypto_kcf_provider_handle_t md4_prov_handle = NULL;
 
 int
 _init(void)