Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TKSS-870: NativeCrypto::sm2GenKeyPair should clean the keys #871

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

johnshajiang
Copy link
Collaborator

NativeCrypto::sm2GenKeyPair should reset the private key and use OPENSSL_malloc and OPENSSL_free for allocating and releasing the memory for keys.

This PR will resolves #870.

@johnshajiang johnshajiang added the bug Something isn't working label Oct 9, 2024
@johnshajiang johnshajiang self-assigned this Oct 9, 2024
@johnshajiang johnshajiang merged commit e39e1e4 into Tencent:master Oct 9, 2024
11 checks passed
@johnshajiang johnshajiang deleted the TKSS-870 branch October 9, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NativeCrypto::sm2GenKeyPair should clean the keys
1 participant