summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-02-18 01:41:18 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-02-18 01:41:18 +0000
commite5ee41e36c80387ee4361e2a346ae5e3df6ea329 (patch)
tree4ade2968113b35739b2b54a1667d3978838b0fb4 /lib
parent0ea1985e8d1dc090cc71a794fc15afb67067fcb5 (diff)
grammar/reword
ok jmc@
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/man/X509_check_ca.312
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libcrypto/man/X509_check_ca.3 b/lib/libcrypto/man/X509_check_ca.3
index 70b0d20ff6a..b78e3490841 100644
--- a/lib/libcrypto/man/X509_check_ca.3
+++ b/lib/libcrypto/man/X509_check_ca.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: X509_check_ca.3,v 1.5 2019/06/06 01:06:59 schwarze Exp $
+.\" $OpenBSD: X509_check_ca.3,v 1.6 2022/02/18 01:41:17 jsg Exp $
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
.\"
.\" This file was written by Victor B. Wagner <vitus@cryptocom.ru>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 6 2019 $
+.Dd $Mdocdate: February 18 2022 $
.Dt X509_CHECK_CA 3
.Os
.Sh NAME
@@ -61,12 +61,14 @@
.Fa "X509 *cert"
.Fc
.Sh DESCRIPTION
-This function checks whether the given certificate is a CA certificate,
+The
+.Fn X509_check_ca
+function checks whether the given certificate is a CA certificate,
that is, whether it can be used to sign other certificates.
.Sh RETURN VALUES
-This functions returns non-zero if
+If
.Fa cert
-is a CA certificate or 0 otherwise.
+is a CA certificate, a non-zero value is returned; 0 otherwise.
.Pp
The following return values identify specific kinds of CA certificates:
.Bl -tag -width 2n