summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-04-21 12:28:48 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-04-21 12:28:48 +0000
commitf34ea446994f5f651c45aa79850a44f64db906a3 (patch)
treee1b29deda00e54c61de1ba6a82bd657eed4d16de /lib
parent0301a86ed03f62062c8583edf459c80dde10dbb8 (diff)
s2i_ASN1_INTEGER.3: minor fixes
Fix botched Xr and be more precise about errors by being less precise. Add a BUGS section.
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/man/s2i_ASN1_INTEGER.312
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libcrypto/man/s2i_ASN1_INTEGER.3 b/lib/libcrypto/man/s2i_ASN1_INTEGER.3
index d3d6a1675e7..dd990ff7f13 100644
--- a/lib/libcrypto/man/s2i_ASN1_INTEGER.3
+++ b/lib/libcrypto/man/s2i_ASN1_INTEGER.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: s2i_ASN1_INTEGER.3,v 1.2 2023/04/20 18:54:47 tb Exp $
+.\" $OpenBSD: s2i_ASN1_INTEGER.3,v 1.3 2023/04/21 12:28:47 tb Exp $
.\"
.\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: April 20 2023 $
+.Dd $Mdocdate: April 21 2023 $
.Dt I2S_ASN1_INTEGER 3
.Os
.Sh NAME
@@ -151,7 +151,7 @@ The
.Fa method
argument can be provided by application programs or it can be a
default method obtained from
-.Xr X509V3_EXT_METHOD_get_nid 3 .
+.Xr X509V3_EXT_get_nid 3 .
The default
.Fa methods
corresponding to the following
@@ -182,7 +182,7 @@ returns an
.Vt ASN1_OCTET_STRING ,
or NULL on error.
.Pp
-Error codes can be obtained by
+Error codes can sometimes be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
.Xr ASN1_INTEGER_new 3 ,
@@ -193,3 +193,7 @@ Error codes can be obtained by
These functions first appeared in OpenSSL 0.9.4 and
have been available since
.Ox 2.6 .
+.Sh BUGS
+Of these functions at least
+.Fn s2i_ASN1_OCTET_STRING
+can succeed while setting an error and fail without setting an error.