1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 07:27:59 -08:00

tweak previous: typo in comment and some cosmetics

This commit is contained in:
tb 2024-12-18 21:12:26 +00:00
parent 0528dcd014
commit a56972eb38

View File

@ -1,4 +1,4 @@
/* $OpenBSD: cert.c,v 1.154 2024/12/18 16:38:40 job Exp $ */
/* $OpenBSD: cert.c,v 1.155 2024/12/18 21:12:26 tb Exp $ */
/*
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2021 Job Snijders <job@openbsd.org>
@ -1104,9 +1104,9 @@ ta_check_validity(const char *fn, const struct cert *p, time_t now)
}
/*
* Suppress warnings for previously fetched TAs certs.
* Suppress warnings for previously fetched TA certs.
*/
if (!verbose && strncmp(fn, "ta/", strlen("ta/")) == 0)
if (verbose == 0 && strncmp(fn, "ta/", strlen("ta/")) == 0)
goto out;
if (!acceptable) {