Revert "Merge branch 'master' of https://github.com/guanzhi/GmSSL"

This reverts commit 7897604408, reversing
changes made to 6c122e31a6.
This commit is contained in:
Zhi Guan
2019-05-24 10:46:55 +08:00
parent 7897604408
commit 246867fd2b
15 changed files with 11 additions and 266 deletions

3
crypto/sm9/sm9_keygen.c Normal file → Executable file
View File

@@ -304,8 +304,7 @@ SM9_KEY *SM9_MASTER_KEY_extract_key(SM9_MASTER_KEY *master,
sk = NULL;
end:
SM9PrivateKey_free(sk);
EC_GROUP_clear_free(group);
EC_GROUP_free(group);
if (ctx) {
BN_CTX_end(ctx);
}