Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2016-01-21 01:53:31 +0300
committerAdam Langley <agl@google.com>2016-01-21 02:08:03 +0300
commit6c22f542f42eccb0de7f43edf27aa1255c7be7e2 (patch)
treeab9e7841858bcd61912bf8d0e331d7a100aa5e1e
parentfc6e5a737220624ee0134ef0b41bd63226db68d7 (diff)
Fix build of x509_test.
Some combination of Chromium's copy of clang and Chromium's Linux sysroot doesn't like syntax. It complains that "chosen constructor is explicit in copy-initialization". Change-Id: Ied6bc17b19421998f926483742510c81f732566b Reviewed-on: https://boringssl-review.googlesource.com/6930 Reviewed-by: Adam Langley <agl@google.com>
-rw-r--r--crypto/x509/x509_test.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/x509/x509_test.cc b/crypto/x509/x509_test.cc
index b5769ccd..486fc4c4 100644
--- a/crypto/x509/x509_test.cc
+++ b/crypto/x509/x509_test.cc
@@ -239,12 +239,13 @@ int main(int argc, char **argv) {
return 1;
}
- if (Verify(leaf.get(), {}, {})) {
+ std::vector<X509*> empty;
+ if (Verify(leaf.get(), empty, empty)) {
fprintf(stderr, "Leaf verified with no roots!\n");
return 1;
}
- if (Verify(leaf.get(), {}, {intermediate.get()})) {
+ if (Verify(leaf.get(), empty, {intermediate.get()})) {
fprintf(stderr, "Leaf verified with no roots!\n");
return 1;
}