From: tb Date: Fri, 21 Apr 2023 12:28:47 +0000 (+0000) Subject: s2i_ASN1_INTEGER.3: minor fixes X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5a2101f47dbcebd502e28c10e6473b7926d16b3e;p=openbsd s2i_ASN1_INTEGER.3: minor fixes Fix botched Xr and be more precise about errors by being less precise. Add a BUGS section. --- 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 .\" @@ -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.