commit | bfcf3a72c0bcb62cfde80e932db0668a7f96c0f8 | [log] [tgz] |
---|---|---|
author | Adam Vartanian <flooey@google.com> | Fri Aug 10 14:55:24 2018 +0100 |
committer | Adam Vartanian <flooey@google.com> | Fri Aug 10 15:32:39 2018 +0100 |
tree | 3ab110046e45c25f8f69df137f8a9d4a52bf60b5 | |
parent | 6120b2b9dfbe5b19fe2d0f69a4b8418ad5f7fe08 [diff] [blame] |
external/boringssl: Sync to 8625ec4b436ccb4098ed4aac10891eff8372be41. This includes the following changes: https://boringssl.googlesource.com/boringssl/+log/c596415ec62b501523d80f9afa26b135406da6bf..8625ec4b436ccb4098ed4aac10891eff8372be41 Test: cts -m CtsLibcoreTestCases Change-Id: I47a45e6b6f46b19fcbcb6c917895867d56dcd2ca
diff --git a/src/crypto/test/test_util.cc b/src/crypto/test/test_util.cc index 493b124..4ad777f 100644 --- a/src/crypto/test/test_util.cc +++ b/src/crypto/test/test_util.cc
@@ -30,6 +30,10 @@ } std::ostream &operator<<(std::ostream &os, const Bytes &in) { + if (in.len == 0) { + return os << "<empty Bytes>"; + } + // Print a byte slice as hex. static const char hex[] = "0123456789abcdef"; for (size_t i = 0; i < in.len; i++) {