aboutsummaryrefslogtreecommitdiff
path: root/crypto/evp/evp_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/evp/evp_test.c')
-rw-r--r--crypto/evp/evp_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c
index 686ca7c..83a9372 100644
--- a/crypto/evp/evp_test.c
+++ b/crypto/evp/evp_test.c
@@ -374,6 +374,8 @@ int main(int argc, char **argv)
fprintf(stderr, "%d tests completed with %d errors\n",
t.ntests, t.errors);
fclose(in);
+ if (t.errors)
+ return 1;
return 0;
}