Skip to content

Commit

Permalink
Merge pull request #73 from govorox/issue-72-bugfix-incorrect-check-r…
Browse files Browse the repository at this point in the history
…eturn-value-verify-server-cert-func

fix: return value check
  • Loading branch information
RobertByrnes authored Apr 24, 2024
2 parents 93d536e + fc24e6e commit 8d0da9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ssl__client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ int start_ssl_client(
break;
}
int flags = verify_server_cert(ssl_client); // Step 8 - Verify the server certificate
ret = flags;
if (ret != 0) {
log_failed_cert(flags);
} else {
Expand Down

0 comments on commit 8d0da9d

Please # to comment.