man3/OBJ_nid2obj.pod: mention failure code for OBJ_create.
authorAndy Polyakov <appro@openssl.org>
Mon, 20 Aug 2018 07:38:36 +0000 (09:38 +0200)
committerAndy Polyakov <appro@openssl.org>
Wed, 22 Aug 2018 19:37:43 +0000 (21:37 +0200)
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6998)

doc/man3/OBJ_nid2obj.pod

index df4e2e164e54c9a372addafe93d4f1ae5294383c..cbf889f2c7114c6fe598e7baad5671fe9cebcce4 100644 (file)
@@ -84,7 +84,8 @@ OBJ_dup() returns a copy of B<o>.
 
 OBJ_create() adds a new object to the internal table. B<oid> is the
 numerical form of the object, B<sn> the short name and B<ln> the
 
 OBJ_create() adds a new object to the internal table. B<oid> is the
 numerical form of the object, B<sn> the short name and B<ln> the
-long name. A new NID is returned for the created object.
+long name. A new NID is returned for the created object in case of
+success and NID_undef in case of failure.
 
 OBJ_length() returns the size of the content octets of B<obj>.
 
 
 OBJ_length() returns the size of the content octets of B<obj>.