diff options
Diffstat (limited to 'lib/libcrypto/man/ASN1_STRING_new.3')
-rw-r--r-- | lib/libcrypto/man/ASN1_STRING_new.3 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libcrypto/man/ASN1_STRING_new.3 b/lib/libcrypto/man/ASN1_STRING_new.3 index b12d936fefc..46325f3968b 100644 --- a/lib/libcrypto/man/ASN1_STRING_new.3 +++ b/lib/libcrypto/man/ASN1_STRING_new.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ASN1_STRING_new.3,v 1.16 2019/06/06 01:06:58 schwarze Exp $ +.\" $OpenBSD: ASN1_STRING_new.3,v 1.17 2019/06/14 13:59:32 schwarze Exp $ .\" OpenSSL 99d63d46 Tue Mar 24 07:52:24 2015 -0400 .\" .\" Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 6 2019 $ +.Dd $Mdocdate: June 14 2019 $ .Dt ASN1_STRING_NEW 3 .Os .Sh NAME @@ -184,7 +184,7 @@ and which ASN.1 type it represents. .El .Pp All the -.Fa *_free +.Fn *_free functions free .Fa a including any data contained in it. @@ -195,12 +195,13 @@ is a pointer, no action occurs. .Sh RETURN VALUES All the -.Fa *_new +.Fn *_new functions return the new .Vt ASN1_STRING -object or +object if successful; otherwise .Dv NULL -if an error occurs. +is returned and an error code can be retrieved with +.Xr ERR_get_error 3 . .Sh SEE ALSO .Xr ASN1_INTEGER_get 3 , .Xr ASN1_STRING_length 3 , @@ -210,7 +211,6 @@ if an error occurs. .Xr ASN1_TYPE_get 3 , .Xr d2i_ASN1_OBJECT 3 , .Xr d2i_ASN1_OCTET_STRING 3 , -.Xr ERR_get_error 3 , .Xr X509_cmp_time 3 , .Xr X509_EXTENSION_get_object 3 , .Xr X509_get_ext_by_OBJ 3 , |