summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2024-03-26 22:45:38 +0000
committertb <>2024-03-26 22:45:38 +0000
commit74c99ba95f66b7e061244b15b5ef310b6e353b33 (patch)
tree696d7934d04c838fa484d60d93df144e8ee38550 /src/lib
parent65bd488c6d80fe974291755ddba8488a52191544 (diff)
downloadopenbsd-74c99ba95f66b7e061244b15b5ef310b6e353b33.tar.gz
openbsd-74c99ba95f66b7e061244b15b5ef310b6e353b33.tar.bz2
openbsd-74c99ba95f66b7e061244b15b5ef310b6e353b33.zip
Tweak versions comment for CRLs
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/x509/x509cset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509cset.c b/src/lib/libcrypto/x509/x509cset.c
index a80d5f21d3..859c9724b5 100644
--- a/src/lib/libcrypto/x509/x509cset.c
+++ b/src/lib/libcrypto/x509/x509cset.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509cset.c,v 1.20 2024/03/26 11:09:37 tb Exp $ */ 1/* $OpenBSD: x509cset.c,v 1.21 2024/03/26 22:45:38 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2001. 3 * project 2001.
4 */ 4 */
@@ -81,6 +81,7 @@ X509_CRL_set_version(X509_CRL *x, long version)
81 /* 81 /*
82 * RFC 5280, 4.1: versions 1 - 3 are specified as follows. 82 * RFC 5280, 4.1: versions 1 - 3 are specified as follows.
83 * Version ::= INTEGER { v1(0), v2(1), v3(2) } 83 * Version ::= INTEGER { v1(0), v2(1), v3(2) }
84 * The only specified versions for CRLs are 1 and 2.
84 */ 85 */
85 if (version < 0 || version > 1) 86 if (version < 0 || version > 1)
86 return (0); 87 return (0);