aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-05-12 02:40:17 +0000
committerlloyd <[email protected]>2015-05-12 02:40:17 +0000
commit702e9962f3d74ecc20d2ada478490f3778628194 (patch)
treebbbd3f26a6492d5866f40874704fb7a18b7dad3e
parentc0ae7770d7a0dc1c3e2b56ee0aa610e360454e2a (diff)
Build fix
-rw-r--r--src/tests/nist_x509.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/nist_x509.cpp b/src/tests/nist_x509.cpp
index 5572c276a..ffd3130c7 100644
--- a/src/tests/nist_x509.cpp
+++ b/src/tests/nist_x509.cpp
@@ -41,7 +41,7 @@ size_t test_nist_x509()
{
std::cout << "No FS access, skipping NIST X.509 validation tests\n";
test_report("NIST X.509 path validation", 0, 0);
- return;
+ return 0;
}
size_t unexp_failure = 0;
@@ -140,7 +140,7 @@ size_t test_nist_x509()
catch(std::exception& e)
{
std::cout << e.what() << std::endl;
- ++unexp_failures;
+ ++unexp_failure;
}
const size_t all_failures = unexp_failure + unexp_success + wrong_error;