sm4: more NULL misspellings
authortb <tb@openbsd.org>
Tue, 2 Jan 2024 19:54:43 +0000 (19:54 +0000)
committertb <tb@openbsd.org>
Tue, 2 Jan 2024 19:54:43 +0000 (19:54 +0000)
lib/libcrypto/evp/e_sm4.c

index 9de2080..9db45a8 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: e_sm4.c,v 1.10 2023/12/02 19:07:10 tb Exp $   */
+/*     $OpenBSD: e_sm4.c,v 1.11 2024/01/02 19:54:43 tb Exp $   */
 /*
  * Copyright (c) 2017, 2019 Ribose Inc
  *
@@ -220,9 +220,9 @@ static const EVP_CIPHER sm4_ecb = {
        .do_cipher = sm4_ecb_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,
 };