diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-11-29 11:45:04 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-11-29 11:45:04 +0000 |
commit | 20b3889afa7f7a73607c92c8611dfd6ee155aed9 (patch) | |
tree | af00fca048a0ac5b7e8e8a645dfddaee2c4f3b13 /usr.sbin/rpki-client/validate.c | |
parent | edd8530649dfe26b0230f3e7729f708c3a678b16 (diff) |
Update valid_x509 comment to reality. crl is no longer optional.
OK tb@
Diffstat (limited to 'usr.sbin/rpki-client/validate.c')
-rw-r--r-- | usr.sbin/rpki-client/validate.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/rpki-client/validate.c b/usr.sbin/rpki-client/validate.c index e69503d15ae..b75f5260910 100644 --- a/usr.sbin/rpki-client/validate.c +++ b/usr.sbin/rpki-client/validate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: validate.c,v 1.48 2022/11/29 10:33:09 claudio Exp $ */ +/* $OpenBSD: validate.c,v 1.49 2022/11/29 11:45:03 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -367,9 +367,9 @@ build_crls(const struct crl *crl, STACK_OF(X509_CRL) **crls) } /* - * Validate the X509 certificate. If crl is NULL don't check CRL. - * Returns 1 for valid certificates, returns 0 if there is a verify error - * and sets *errstr to the error returned by X509_verify_cert_error_string(). + * Validate the X509 certificate. Returns 1 for valid certificates, + * returns 0 if there is a verify error and sets *errstr to the error + * returned by X509_verify_cert_error_string(). */ int valid_x509(char *file, X509_STORE_CTX *store_ctx, X509 *x509, struct auth *a, |