소스 검색

Fix early data printout in bssl client.

Because the handshake returns early, it should query SSL_in_early_data.

Change-Id: I64d4c0e8de753832207d5c198c50d660f87afac6
Reviewed-on: https://boringssl-review.googlesource.com/22945
Reviewed-by: Steven Valdez <svaldez@chromium.org>
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>
kris/onging/CECPQ3_patch15
David Benjamin 7 년 전
committed by CQ bot account: commit-bot@chromium.org
부모
커밋
4ddbc7bd0d
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -2
      tool/transport_common.cc

+ 3
- 2
tool/transport_common.cc 파일 보기

@@ -284,8 +284,9 @@ void PrintConnectionInfo(BIO *bio, const SSL *ssl) {
BIO_printf(bio, " SCT list: %s\n", sct_list_len > 0 ? "yes" : "no");
}

BIO_printf(bio, " Early data: %s\n",
SSL_early_data_accepted(ssl) ? "yes" : "no");
BIO_printf(
bio, " Early data: %s\n",
(SSL_early_data_accepted(ssl) || SSL_in_early_data(ssl)) ? "yes" : "no");

// Print the server cert subject and issuer names.
bssl::UniquePtr<X509> peer(SSL_get_peer_certificate(ssl));


불러오는 중...
취소
저장