Update version to 2.4.0

Since this version SM9 is offically supported.
This commit is contained in:
Zhi Guan
2018-10-13 21:47:14 +08:00
parent 5293d0f38d
commit f411936f9f
9 changed files with 5462 additions and 5380 deletions

View File

@@ -133,7 +133,7 @@ SM9MasterSecret *SM9_generate_master_secret(int pairing, int scheme, int hash1)
|| !point_mul_generator(&Ppubs, msk->masterSecret, p, ctx)
|| !point_to_octets(&Ppubs, buf, ctx)) {
SM9err(SM9_F_SM9_GENERATE_MASTER_SECRET, SM9_R_TWIST_CURVE_ERROR);
point_cleanup(&Ppubs);
point_cleanup(&Ppubs);
goto end;
}