summaryrefslogtreecommitdiffstats
path: root/apps/apps.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/apps.c')
-rw-r--r--apps/apps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/apps.c b/apps/apps.c
index 1183d06e26..cf2175ab0b 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -2948,7 +2948,8 @@ void print_cert_checks(BIO *bio, X509 *x,
if (checkhost)
{
BIO_printf(bio, "Hostname %s does%s match certificate\n",
- checkhost, X509_check_host(x, checkhost, 0, 0)
+ checkhost,
+ X509_check_host(x, checkhost, 0, 0, NULL)
? "" : " NOT");
}