diff options
Diffstat (limited to 'lib/libcrypto/man/OBJ_nid2obj.3')
-rw-r--r-- | lib/libcrypto/man/OBJ_nid2obj.3 | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/lib/libcrypto/man/OBJ_nid2obj.3 b/lib/libcrypto/man/OBJ_nid2obj.3 index ad743b06a0c..26acea5c58c 100644 --- a/lib/libcrypto/man/OBJ_nid2obj.3 +++ b/lib/libcrypto/man/OBJ_nid2obj.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: OBJ_nid2obj.3,v 1.13 2019/06/06 01:06:58 schwarze Exp $ +.\" $OpenBSD: OBJ_nid2obj.3,v 1.14 2019/06/14 13:59:32 schwarze Exp $ .\" OpenSSL c264592d May 14 11:28:00 2006 +0000 .\" .\" This file is a derived work. @@ -66,7 +66,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 6 2019 $ +.Dd $Mdocdate: June 14 2019 $ .Dt OBJ_NID2OBJ 3 .Os .Sh NAME @@ -340,6 +340,20 @@ on error. returns the new NID or .Dv NID_undef if an error occurs. +.Pp +In some cases of failure of +.Fn OBJ_nid2obj , +.Fn OBJ_nid2ln , +.Fn OBJ_nid2sn , +.Fn OBJ_txt2nid , +.Fn OBJ_txt2obj , +.Fn OBJ_obj2txt , +.Fn OBJ_dup , +.Fn OBJ_create , +and +.Fn i2t_ASN1_OBJECT , +the reason can be determined with +.Xr ERR_get_error 3 . .Sh EXAMPLES Create an object for .Sy commonName : @@ -369,8 +383,7 @@ obj = OBJ_txt2obj("1.2.3.4", 1); .Ed .Sh SEE ALSO .Xr ASN1_OBJECT_new 3 , -.Xr d2i_ASN1_OBJECT 3 , -.Xr ERR_get_error 3 +.Xr d2i_ASN1_OBJECT 3 .Sh HISTORY .Fn OBJ_nid2obj , .Fn OBJ_nid2ln , |