summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/usr.sbin/ocspcheck/ocspcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr.sbin/ocspcheck/ocspcheck.c b/src/usr.sbin/ocspcheck/ocspcheck.c
index 59b85b8cef..0d6ebee028 100644
--- a/src/usr.sbin/ocspcheck/ocspcheck.c
+++ b/src/usr.sbin/ocspcheck/ocspcheck.c
@@ -227,7 +227,7 @@ read_fullchain(const char *file, int *count)
227 *count = 0; 227 *count = 0;
228 228
229 if ((bio = BIO_new_file(file, "r")) == NULL) { 229 if ((bio = BIO_new_file(file, "r")) == NULL) {
230 warnx("Unable to read a certificate from %s", file); 230 warn("Unable to read a certificate from %s", file);
231 return NULL; 231 return NULL;
232 } 232 }
233 if ((xis = PEM_X509_INFO_read_bio(bio, NULL, NULL, NULL)) == NULL) { 233 if ((xis = PEM_X509_INFO_read_bio(bio, NULL, NULL, NULL)) == NULL) {