projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add some CertStatus tests
[openssl.git]
/
test
/
evp_test.c
diff --git
a/test/evp_test.c
b/test/evp_test.c
index f820e2537dbc6abd41303363e7fd420be9e97f29..a0dbffb2daf5d05489e880d01ca00ced5f48cb08 100644
(file)
--- a/
test/evp_test.c
+++ b/
test/evp_test.c
@@
-559,6
+559,10
@@
int main(int argc, char **argv)
memset(&t, 0, sizeof(t));
t.start_line = -1;
in = BIO_new_file(argv[1], "r");
+ if (in == NULL) {
+ fprintf(stderr, "Can't open %s for reading\n", argv[1]);
+ return 1;
+ }
t.in = in;
while (BIO_gets(in, buf, sizeof(buf))) {
t.line++;