From: Ivan Filenko Date: Sun, 25 Feb 2018 13:49:27 +0000 (+0300) Subject: Fix typo in ASN1_STRING_length doc X-Git-Tag: OpenSSL_1_1_0h~57 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=30ecc60ac1fc7012daabc9eda7eacd401ef8e15a;p=oweals%2Fopenssl.git Fix typo in ASN1_STRING_length doc CLA: trivial Reviewed-by: Rich Salz Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/5458) --- diff --git a/doc/crypto/ASN1_STRING_length.pod b/doc/crypto/ASN1_STRING_length.pod index 26cb176142..a774a42ca8 100644 --- a/doc/crypto/ASN1_STRING_length.pod +++ b/doc/crypto/ASN1_STRING_length.pod @@ -71,8 +71,8 @@ utility functions should be used instead. In general it cannot be assumed that the data returned by ASN1_STRING_data() is null terminated or does not contain embedded nulls. The actual format of the data will depend on the actual string type itself: for example -for and IA5String the data will be ASCII, for a BMPString two bytes per -character in big endian format, UTF8String will be in UTF8 format. +for an IA5String the data will be ASCII, for a BMPString two bytes per +character in big endian format, and for an UTF8String it will be in UTF8 format. Similar care should be take to ensure the data is in the correct format when calling ASN1_STRING_set().