-.\" $OpenBSD: OBJ_create.3,v 1.5 2021/12/18 17:47:45 schwarze Exp $
+.\" $OpenBSD: OBJ_create.3,v 1.6 2022/01/01 02:06:07 jsg Exp $
.\" full merge up to:
.\" OpenSSL OBJ_nid2obj.pod 9b86974e Aug 17 15:21:33 2015 -0400
.\" selective merge up to:
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 18 2021 $
+.Dd $Mdocdate: January 1 2022 $
.Dt OBJ_CREATE 3
.Os
.Sh NAME
.Dv NID_undef
if
.Fa oid
-is not a valid representation of an object identfier
+is not a valid representation of an object identifier
or if memory allocation fails.
.Pp
.Fn OBJ_create_objects
-.\" $OpenBSD: a2d_ASN1_OBJECT.3,v 1.1 2021/11/22 14:00:27 schwarze Exp $
+.\" $OpenBSD: a2d_ASN1_OBJECT.3,v 1.2 2022/01/01 02:06:07 jsg Exp $
.\"
.\" Copyright (c) 2021 Ingo Schwarze <schwarze@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: November 22 2021 $
+.Dd $Mdocdate: January 1 2022 $
.Dt A2D_ASN1_OBJECT 3
.Os
.Sh NAME
.Fa ilen
is 0, if
.Fa val_in
-is not a valid representation of an object identfier,
+is not a valid representation of an object identifier,
if memory allocation fails, or if the number of content octets
would be larger than
.Fa olen .