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

Check OPENSSL_NO_SM4 before using sm4 encryption #302

Merged
merged 1 commit into from
Jul 14, 2022

Conversation

jiayang-zheng
Copy link

In some env, user installed openssl by yum install, and the openssl software may complied with OPENSSL_NO_SM4 flag, so although the version is >= 1.1.1, but we still could not use sm4 in that situation.

Signed-off-by: Jarvis Zheng jiayang@hust.edu.cn

Signed-off-by: Jarvis Zheng <jiayang@hust.edu.cn>
@tabokie tabokie requested a review from ethercflow July 13, 2022 11:38
Copy link
Member

@ethercflow ethercflow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tabokie tabokie merged commit 9464766 into tikv:6.29.tikv Jul 14, 2022
@ethercflow
Copy link
Member

@jiayang-zheng @Connor1996 @tabokie As cloud use tikv-6.1, should we cherry pick this fix to 6.4.tikv?

@jiayang-zheng
Copy link
Author

We have #303 to cherry pick this fix to 6.4.tikv. I will ask @Connor1996 to take a look.
Thanks @ethercflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants