Print this page
fixup .text where possible
7127 remove -Wno-missing-braces from Makefile.uts
*** 54,64 ****
&mod_cryptoops,
"SHA1 Kernel SW Provider 1.1"
};
static struct modlinkage modlinkage = {
! MODREV_1, &modlmisc, &modlcrypto, NULL
};
/*
* Macros to access the SHA1 or SHA1-HMAC contexts from a context passed
--- 54,64 ----
&mod_cryptoops,
"SHA1 Kernel SW Provider 1.1"
};
static struct modlinkage modlinkage = {
! MODREV_1, { &modlmisc, &modlcrypto, NULL }
};
/*
* Macros to access the SHA1 or SHA1-HMAC contexts from a context passed
*** 162,200 ****
sha1_create_ctx_template,
sha1_free_context
};
static crypto_ops_t sha1_crypto_ops = {
! &sha1_control_ops,
! &sha1_digest_ops,
! NULL,
! &sha1_mac_ops,
! NULL,
! NULL,
! NULL,
! NULL,
! NULL,
! NULL,
! NULL,
! NULL,
! NULL,
! &sha1_ctx_ops,
! NULL,
! NULL,
! NULL,
};
! static crypto_provider_info_t sha1_prov_info = {
CRYPTO_SPI_VERSION_4,
"SHA1 Software Provider",
CRYPTO_SW_PROVIDER,
{&modlinkage},
NULL,
&sha1_crypto_ops,
sizeof (sha1_mech_info_tab)/sizeof (crypto_mech_info_t),
sha1_mech_info_tab
! };
static crypto_kcf_provider_handle_t sha1_prov_handle = NULL;
int
_init()
--- 162,187 ----
sha1_create_ctx_template,
sha1_free_context
};
static crypto_ops_t sha1_crypto_ops = {
! .co_control_ops = &sha1_control_ops,
! .co_digest_ops = &sha1_digest_ops,
! .co_mac_ops = &sha1_mac_ops,
! .co_ctx_ops = &sha1_ctx_ops
};
! static crypto_provider_info_t sha1_prov_info = {{{{
CRYPTO_SPI_VERSION_4,
"SHA1 Software Provider",
CRYPTO_SW_PROVIDER,
{&modlinkage},
NULL,
&sha1_crypto_ops,
sizeof (sha1_mech_info_tab)/sizeof (crypto_mech_info_t),
sha1_mech_info_tab
! }}}};
static crypto_kcf_provider_handle_t sha1_prov_handle = NULL;
int
_init()