diff options
| author | levlam <levlam@telegram.org> | 2019-07-15 20:29:44 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2019-07-15 20:29:44 +0300 |
| commit | 58dd51916d572ed116ecc5bef05f61337fa58b49 (patch) | |
| tree | 86f57720834942698edda6e861cdf0638f99c532 /benchmark/check_tls.cpp | |
| parent | f53f73a34e67d4c4b9a7db906d53f7fd73c747f1 (diff) | |
Fix error message.
GitOrigin-RevId: bd671f9c961e737fccbe45220ab5ca84985bdfaa
Diffstat (limited to 'benchmark/check_tls.cpp')
| -rw-r--r-- | benchmark/check_tls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/check_tls.cpp b/benchmark/check_tls.cpp index fc4da165f..156d5d40f 100644 --- a/benchmark/check_tls.cpp +++ b/benchmark/check_tls.cpp @@ -159,7 +159,7 @@ td::Result<TlsInfo> test_tls(const td::string &url) { return td::Status::Error("Receive too short server hello 2"); } EXPECT_STR(44, request.substr(44, 32), "TLS <= 1.2: expected mirrored session_id"); - EXPECT_STR(76, "\x13\x01\x00", "TLS <= 1.2: expected x25519 as a chosen cipher"); + EXPECT_STR(76, "\x13\x01\x00", "TLS <= 1.2: expected 0x1301 as a chosen cipher"); pos += 74; size_t extensions_length = read_length(); if (extensions_length + 76 != server_hello_length) { |
