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

关于源码中验证peer结点证书的问题 #591

Open
HachikoT opened this issue May 27, 2020 · 1 comment
Open

关于源码中验证peer结点证书的问题 #591

HachikoT opened this issue May 27, 2020 · 1 comment

Comments

@HachikoT
Copy link

在源码里面,首先判断preverify_ok等于true后,进行之后的判断逻辑
但是后面就算出错,比如
if (!cert)
{
HOST_LOG(ERROR) << LOG_DESC("Get cert failed");
return preverified;
}
直接返回true,这样不会有问题吗

@HachikoT
Copy link
Author

发错地方了,我想发到FISCO BCOS项目的
请忽略

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

No branches or pull requests

1 participant