summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2023-12-02 19:07:10 +0000
committertb <>2023-12-02 19:07:10 +0000
commite29fcb6e6e777c924634bc7569e138f01d8cc8fb (patch)
tree7df0679d75b562265b91e8452bda3c1c9d88db3a
parentc59031441ed8b9a1ccd407cf805331ed37b8fb0d (diff)
downloadopenbsd-e29fcb6e6e777c924634bc7569e138f01d8cc8fb.tar.gz
openbsd-e29fcb6e6e777c924634bc7569e138f01d8cc8fb.tar.bz2
openbsd-e29fcb6e6e777c924634bc7569e138f01d8cc8fb.zip
Fix some NULL misspellings
-rw-r--r--src/lib/libcrypto/evp/e_sm4.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/libcrypto/evp/e_sm4.c b/src/lib/libcrypto/evp/e_sm4.c
index c1664db398..9de2080b27 100644
--- a/src/lib/libcrypto/evp/e_sm4.c
+++ b/src/lib/libcrypto/evp/e_sm4.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: e_sm4.c,v 1.9 2023/07/07 19:37:53 beck Exp $ */ 1/* $OpenBSD: e_sm4.c,v 1.10 2023/12/02 19:07:10 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2017, 2019 Ribose Inc 3 * Copyright (c) 2017, 2019 Ribose Inc
4 * 4 *
@@ -154,9 +154,9 @@ static const EVP_CIPHER sm4_cbc = {
154 .do_cipher = sm4_cbc_cipher, 154 .do_cipher = sm4_cbc_cipher,
155 .cleanup = NULL, 155 .cleanup = NULL,
156 .ctx_size = sizeof(EVP_SM4_KEY), 156 .ctx_size = sizeof(EVP_SM4_KEY),
157 .set_asn1_parameters = 0, 157 .set_asn1_parameters = NULL,
158 .get_asn1_parameters = 0, 158 .get_asn1_parameters = NULL,
159 .ctrl = 0, 159 .ctrl = NULL,
160 .app_data = NULL, 160 .app_data = NULL,
161}; 161};
162 162
@@ -176,9 +176,9 @@ static const EVP_CIPHER sm4_cfb128 = {
176 .do_cipher = sm4_cfb128_cipher, 176 .do_cipher = sm4_cfb128_cipher,
177 .cleanup = NULL, 177 .cleanup = NULL,
178 .ctx_size = sizeof(EVP_SM4_KEY), 178 .ctx_size = sizeof(EVP_SM4_KEY),
179 .set_asn1_parameters = 0, 179 .set_asn1_parameters = NULL,
180 .get_asn1_parameters = 0, 180 .get_asn1_parameters = NULL,
181 .ctrl = 0, 181 .ctrl = NULL,
182 .app_data = NULL, 182 .app_data = NULL,
183}; 183};
184 184
@@ -198,9 +198,9 @@ static const EVP_CIPHER sm4_ofb = {
198 .do_cipher = sm4_ofb_cipher, 198 .do_cipher = sm4_ofb_cipher,
199 .cleanup = NULL, 199 .cleanup = NULL,
200 .ctx_size = sizeof(EVP_SM4_KEY), 200 .ctx_size = sizeof(EVP_SM4_KEY),
201 .set_asn1_parameters = 0, 201 .set_asn1_parameters = NULL,
202 .get_asn1_parameters = 0, 202 .get_asn1_parameters = NULL,
203 .ctrl = 0, 203 .ctrl = NULL,
204 .app_data = NULL, 204 .app_data = NULL,
205}; 205};
206 206