From bac5544e9832c65c95283e95062263c79a9a6733 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Mon, 21 Dec 2020 10:15:29 -0800 Subject: [PATCH] Fix awkward wording in comment. One of the comments in e56dfcf9f4 was worded awkwardly. Thanks to Zi Lin for fixing this. Change-Id: I7ee647716e0ee30145bdce5be35128058130e1ec Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/44764 Commit-Queue: David Benjamin Reviewed-by: David Benjamin --- include/openssl/bytestring.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/openssl/bytestring.h b/include/openssl/bytestring.h index addb5d95d..5ae034839 100644 --- a/include/openssl/bytestring.h +++ b/include/openssl/bytestring.h @@ -255,9 +255,9 @@ OPENSSL_EXPORT int CBS_get_any_asn1_element(CBS *cbs, CBS *out, // also allows indefinite-length elements to be returned and does not enforce // that lengths are minimal. For indefinite-lengths, |*out_header_len| and // |CBS_len(out)| will be equal as only the header is returned (although this is -// also true for empty elements so the length must be checked too). If any case -// of invalid DER but valid BER is found then |*out_ber_found| is set to one, if -// not |NULL|. Otherwise it is set to zero, if not |NULL|. +// also true for empty elements so the length must be checked too). If +// |out_ber_found| is not NULL then it is set to one if any case of invalid DER +// but valid BER is found, and to zero otherwise. OPENSSL_EXPORT int CBS_get_any_ber_asn1_element(CBS *cbs, CBS *out, unsigned *out_tag, size_t *out_header_len,