From: tb Date: Tue, 26 Mar 2024 22:45:38 +0000 (+0000) Subject: Tweak versions comment for CRLs X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=02525e39262254f5e187b4d7495a53b58f7a451d;p=openbsd Tweak versions comment for CRLs --- diff --git a/lib/libcrypto/x509/x509cset.c b/lib/libcrypto/x509/x509cset.c index a80d5f21d3b..859c9724b5d 100644 --- a/lib/libcrypto/x509/x509cset.c +++ b/lib/libcrypto/x509/x509cset.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509cset.c,v 1.20 2024/03/26 11:09:37 tb Exp $ */ +/* $OpenBSD: x509cset.c,v 1.21 2024/03/26 22:45:38 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2001. */ @@ -81,6 +81,7 @@ X509_CRL_set_version(X509_CRL *x, long version) /* * RFC 5280, 4.1: versions 1 - 3 are specified as follows. * Version ::= INTEGER { v1(0), v2(1), v3(2) } + * The only specified versions for CRLs are 1 and 2. */ if (version < 0 || version > 1) return (0);