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:
Diffstat (limited to 'crypto/x509/x509_test.cc')
-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;
}