summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorwzhang <zhangweikop@gmail.com>2018-08-08 01:04:18 -0700
committerPaul Yang <yang.yang@baishancloud.com>2018-09-03 20:35:11 +0800
commita7eeefeadc29f4290978ef1cdd800f3ea2850c10 (patch)
tree3ea43dbe72dbb59662321b6fd95b61b134146f40 /crypto
parent64a48fc7f0bc2d3ff587791b93a357bd98e1a5b8 (diff)
Fix the comment of PEM_read_bio_ex
Add one more unit test case Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Paul Yang <yang.yang@baishancloud.com> (Merged from https://github.com/openssl/openssl/pull/6892)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/pem/pem_lib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/pem/pem_lib.c b/crypto/pem/pem_lib.c
index 5c21a86846..4bb86463fa 100644
--- a/crypto/pem/pem_lib.c
+++ b/crypto/pem/pem_lib.c
@@ -880,8 +880,7 @@ err:
* Read in PEM-formatted data from the given BIO.
*
* By nature of the PEM format, all content must be printable ASCII (except
- * for line endings). Other characters, or lines that are longer than 80
- * characters, are malformed input and will be rejected.
+ * for line endings). Other characters are malformed input and will be rejected.
*/
int PEM_read_bio_ex(BIO *bp, char **name_out, char **header,
unsigned char **data, long *len_out, unsigned int flags)