diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/man/ASN1_STRING_length.3 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/ASN1_STRING_length.3 b/src/lib/libcrypto/man/ASN1_STRING_length.3 index 83b6ffdd2f..e7e78677fb 100644 --- a/src/lib/libcrypto/man/ASN1_STRING_length.3 +++ b/src/lib/libcrypto/man/ASN1_STRING_length.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: ASN1_STRING_length.3,v 1.27 2021/11/20 11:49:08 schwarze Exp $ | 1 | .\" $OpenBSD: ASN1_STRING_length.3,v 1.28 2021/12/09 18:45:45 schwarze Exp $ |
| 2 | .\" full merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 | 2 | .\" full merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 |
| 3 | .\" | 3 | .\" |
| 4 | .\" This file is a derived work. | 4 | .\" This file is a derived work. |
| @@ -66,7 +66,7 @@ | |||
| 66 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 66 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 67 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 67 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
| 68 | .\" | 68 | .\" |
| 69 | .Dd $Mdocdate: November 20 2021 $ | 69 | .Dd $Mdocdate: December 9 2021 $ |
| 70 | .Dt ASN1_STRING_LENGTH 3 | 70 | .Dt ASN1_STRING_LENGTH 3 |
| 71 | .Os | 71 | .Os |
| 72 | .Sh NAME | 72 | .Sh NAME |
| @@ -276,6 +276,11 @@ should be freed using | |||
| 276 | .Fn ASN1_STRING_type | 276 | .Fn ASN1_STRING_type |
| 277 | returns the type of | 277 | returns the type of |
| 278 | .Fa x . | 278 | .Fa x . |
| 279 | If the bit | ||
| 280 | .Dv V_ASN1_NEG | ||
| 281 | is set in the return value, | ||
| 282 | .Fa x | ||
| 283 | is an ASN.1 INTEGER or ENUMERATED object with a negative value. | ||
| 279 | .Pp | 284 | .Pp |
| 280 | Almost all ASN.1 types are represented as | 285 | Almost all ASN.1 types are represented as |
| 281 | .Vt ASN1_STRING | 286 | .Vt ASN1_STRING |
| @@ -382,7 +387,9 @@ or a negative number if an error occurred. | |||
| 382 | .Pp | 387 | .Pp |
| 383 | .Fn ASN1_STRING_type | 388 | .Fn ASN1_STRING_type |
| 384 | returns an integer constant, for example | 389 | returns an integer constant, for example |
| 385 | .Dv V_ASN1_OCTET_STRING . | 390 | .Dv V_ASN1_OCTET_STRING |
| 391 | or | ||
| 392 | .Dv V_ASN1_NEG_INTEGER . | ||
| 386 | .Pp | 393 | .Pp |
| 387 | In some cases of failure of | 394 | In some cases of failure of |
| 388 | .Fn ASN1_STRING_dup , | 395 | .Fn ASN1_STRING_dup , |
