-.\" $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>
.\"
.\" 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
.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
.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 ,
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.