From: Andy Polyakov Date: Mon, 20 Aug 2018 07:38:36 +0000 (+0200) Subject: man3/OBJ_nid2obj.pod: mention failure code for OBJ_create. X-Git-Tag: OpenSSL_1_1_1~92 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2d162ea93f6512909454ee10597b63206862a056;p=oweals%2Fopenssl.git man3/OBJ_nid2obj.pod: mention failure code for OBJ_create. Reviewed-by: Kurt Roeckx Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/6998) --- 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. OBJ_create() adds a new object to the internal table. B is the numerical form of the object, B the short name and B 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.