Skip to content

Commit

Permalink
tool: show if early data was accepted
Browse files Browse the repository at this point in the history
Change-Id: I5e1302d75f863fb2e531d431a4e3ecfd90e0dca1
Reviewed-on: https://boringssl-review.googlesource.com/14376
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
  • Loading branch information
ghedo authored and CQ bot account: commit-bot@chromium.org committed Mar 26, 2017
1 parent 065d733 commit ca307ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tool/transport_common.cc
Expand Up @@ -292,6 +292,9 @@ void PrintConnectionInfo(const SSL *ssl) {
fprintf(stderr, " SCT list: %s\n", sct_list_len > 0 ? "yes" : "no");
}

fprintf(stderr, " Early data: %s\n",
SSL_early_data_accepted(ssl) ? "yes" : "no");

// Print the server cert subject and issuer names.
bssl::UniquePtr<X509> peer(SSL_get_peer_certificate(ssl));
if (peer != nullptr) {
Expand Down

0 comments on commit ca307ab

Please sign in to comment.