mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-10 07:53:57 +08:00
add SM2 default ID, fixed the SM2_do_encrypt() memory leak
This commit is contained in:
@@ -417,6 +417,7 @@ end:
|
||||
cv = NULL;
|
||||
}
|
||||
|
||||
if (point) EC_POINT_free(point);
|
||||
if (n) BN_free(n);
|
||||
if (h) BN_free(h);
|
||||
if (k) BN_free(k);
|
||||
|
||||
Reference in New Issue
Block a user