mirror of
https://github.com/github/codeql.git
synced 2026-05-30 02:51:24 +02:00
9 lines
147 B
C++
9 lines
147 B
C++
// ...
|
|
|
|
X509 *cert = SSL_get_peer_certificate(ssl); // GOOD
|
|
if (cert)
|
|
{
|
|
result = SSL_get_verify_result(ssl);
|
|
if (result == X509_V_OK)
|
|
{
|
|
// ...
|