summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-12-02 19:07:11 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-12-02 19:07:11 +0000
commitb74e16aede5f61dc8977bc03355651f389204517 (patch)
treef3bbcf82ccab950efffe67bf42aa78cc46ed2298 /lib/libcrypto
parentce69bd9a9bce3215c54eef65c719b50b532c8538 (diff)
Fix some NULL misspellings
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/evp/e_sm4.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libcrypto/evp/e_sm4.c b/lib/libcrypto/evp/e_sm4.c
index c1664db3980..9de2080b274 100644
--- a/lib/libcrypto/evp/e_sm4.c
+++ b/lib/libcrypto/evp/e_sm4.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: e_sm4.c,v 1.9 2023/07/07 19:37:53 beck Exp $ */
+/* $OpenBSD: e_sm4.c,v 1.10 2023/12/02 19:07:10 tb Exp $ */
/*
* Copyright (c) 2017, 2019 Ribose Inc
*
@@ -154,9 +154,9 @@ static const EVP_CIPHER sm4_cbc = {
.do_cipher = sm4_cbc_cipher,
.cleanup = NULL,
.ctx_size = sizeof(EVP_SM4_KEY),
- .set_asn1_parameters = 0,
- .get_asn1_parameters = 0,
- .ctrl = 0,
+ .set_asn1_parameters = NULL,
+ .get_asn1_parameters = NULL,
+ .ctrl = NULL,
.app_data = NULL,
};
@@ -176,9 +176,9 @@ static const EVP_CIPHER sm4_cfb128 = {
.do_cipher = sm4_cfb128_cipher,
.cleanup = NULL,
.ctx_size = sizeof(EVP_SM4_KEY),
- .set_asn1_parameters = 0,
- .get_asn1_parameters = 0,
- .ctrl = 0,
+ .set_asn1_parameters = NULL,
+ .get_asn1_parameters = NULL,
+ .ctrl = NULL,
.app_data = NULL,
};
@@ -198,9 +198,9 @@ static const EVP_CIPHER sm4_ofb = {
.do_cipher = sm4_ofb_cipher,
.cleanup = NULL,
.ctx_size = sizeof(EVP_SM4_KEY),
- .set_asn1_parameters = 0,
- .get_asn1_parameters = 0,
- .ctrl = 0,
+ .set_asn1_parameters = NULL,
+ .get_asn1_parameters = NULL,
+ .ctrl = NULL,
.app_data = NULL,
};