From 02525e39262254f5e187b4d7495a53b58f7a451d Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 26 Mar 2024 22:45:38 +0000 Subject: [PATCH] Tweak versions comment for CRLs --- lib/libcrypto/x509/x509cset.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.20.1