Skip to content

Commit

Permalink
changed format specifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
smittals2 committed Nov 7, 2024
1 parent 2d2e7a6 commit 9a6cd6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ static bool DoConnection(SSL_CTX *ctx,

// print for openssl tool
if (tool) {
fprintf(stdout, "CONNECTED(%08X)\n", sock);
fprintf(stdout, "CONNECTED(%08d)\n", sock);
}

if (args_map.count("-starttls") != 0) {
Expand Down Expand Up @@ -727,7 +727,7 @@ bool DoClient(std::map<std::string, std::string> args_map, int tool) {
fprintf(stderr, "s_client: Can't parse \"%s\" as a number\n", args_map.find("-verify")->second.c_str());
return false;
}
fprintf(stdout, "verify depth is %d\n", depth);
fprintf(stdout, "verify depth is %d\n", (int)depth);
verify = SSL_VERIFY_PEER;
}

Expand Down

0 comments on commit 9a6cd6d

Please sign in to comment.