summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2018-08-20 09:38:36 +0200
committerAndy Polyakov <appro@openssl.org>2018-08-22 21:37:43 +0200
commit2d162ea93f6512909454ee10597b63206862a056 (patch)
tree38ffe1672474701a6270f067e54e45e375683755 /doc
parent19934970ac8534cd19eb3f64299e5731d97a7a80 (diff)
man3/OBJ_nid2obj.pod: mention failure code for OBJ_create.
Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6998)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/OBJ_nid2obj.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/man3/OBJ_nid2obj.pod b/doc/man3/OBJ_nid2obj.pod
index df4e2e164e..cbf889f2c7 100644
--- a/doc/man3/OBJ_nid2obj.pod
+++ b/doc/man3/OBJ_nid2obj.pod
@@ -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
-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>.