mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-08 23:13:38 +08:00
fixed
This commit is contained in:
@@ -198,6 +198,8 @@ end:
|
|||||||
BN_free(r);
|
BN_free(r);
|
||||||
point_cleanup(&Ppubs);
|
point_cleanup(&Ppubs);
|
||||||
fp12_cleanup(w);
|
fp12_cleanup(w);
|
||||||
|
BN_CTX_end(bn_ctx);
|
||||||
|
BN_CTX_free(bn_ctx);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -355,9 +357,7 @@ end:
|
|||||||
point_cleanup(&P);
|
point_cleanup(&P);
|
||||||
fp12_cleanup(w);
|
fp12_cleanup(w);
|
||||||
fp12_cleanup(u);
|
fp12_cleanup(u);
|
||||||
if (bn_ctx) {
|
BN_CTX_end(bn_ctx);
|
||||||
BN_CTX_end(bn_ctx);
|
|
||||||
}
|
|
||||||
BN_CTX_free(bn_ctx);
|
BN_CTX_free(bn_ctx);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user