summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/m_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/m_null.c')
-rw-r--r--src/lib/libcrypto/evp/m_null.c28
1 files changed, 16 insertions, 12 deletions
diff --git a/src/lib/libcrypto/evp/m_null.c b/src/lib/libcrypto/evp/m_null.c
index ad658e7045..ecd0c2f2d6 100644
--- a/src/lib/libcrypto/evp/m_null.c
+++ b/src/lib/libcrypto/evp/m_null.c
@@ -81,18 +81,22 @@ final(EVP_MD_CTX *ctx, unsigned char *md)
81} 81}
82 82
83static const EVP_MD null_md = { 83static const EVP_MD null_md = {
84 NID_undef, 84 .type = NID_undef,
85 NID_undef, 85 .pkey_type = NID_undef,
86 0, 86 .md_size = 0,
87 0, 87 .flags = 0,
88 init, 88 .init = init,
89 update, 89 .update = update,
90 final, 90 .final = final,
91 NULL, 91 .copy = NULL,
92 NULL, 92 .cleanup = NULL,
93 EVP_PKEY_NULL_method, 93 .sign = NULL,
94 0, 94 .verify = NULL,
95 sizeof(EVP_MD *), 95 .required_pkey_type = {
96 0, 0, 0, 0,
97 },
98 .block_size = 0,
99 .ctx_size = sizeof(EVP_MD *),
96}; 100};
97 101
98const EVP_MD * 102const EVP_MD *