diff options
-rw-r--r-- | crypto/x509/x509_test.cc | 5 |
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; } |