aboutsummaryrefslogtreecommitdiff
path: root/crypto/sm2/sm2_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/sm2/sm2_key.c')
-rw-r--r--crypto/sm2/sm2_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/sm2/sm2_key.c b/crypto/sm2/sm2_key.c
index 9d0b9208facf..e3a10d38e7d2 100644
--- a/crypto/sm2/sm2_key.c
+++ b/crypto/sm2/sm2_key.c
@@ -29,7 +29,7 @@ int ossl_sm2_key_private_check(const EC_KEY *eckey)
if (eckey == NULL
|| (group = EC_KEY_get0_group(eckey)) == NULL
|| (priv_key = EC_KEY_get0_private_key(eckey)) == NULL
- || (order = EC_GROUP_get0_order(group)) == NULL ) {
+ || (order = EC_GROUP_get0_order(group)) == NULL) {
ERR_raise(ERR_LIB_SM2, ERR_R_PASSED_NULL_PARAMETER);
return 0;
}