未验证 提交 d831fbf7 编写于 作者: O openharmony_ci 提交者: Gitee

!218 wpa_supplicant EAP认证相关代码规范整改

Merge pull request !218 from 徐杰/xj_0706
......@@ -3367,9 +3367,7 @@ static int tls_connection_client_cert(struct tls_connection *conn,
return -1;
}
if (bio) {
x509 = PEM_read_bio_X509(bio, NULL, NULL, NULL);
}
x509 = PEM_read_bio_X509(bio, NULL, NULL, NULL);
if (x509) {
if (SSL_use_certificate(conn->ssl, x509) == 1) {
ret = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册