asn1_lib.c: ASN1_put_object: Remove comment about "class 0".
authorScott McPeak <scott.g.mcpeak@gmail.com>
Fri, 23 Apr 2021 02:13:09 +0000 (19:13 -0700)
committerDmitry Belyavskiy <beldmit@gmail.com>
Thu, 29 Apr 2021 11:53:19 +0000 (13:53 +0200)
commit0f077b5fd86e2df0b41608fbd5684fa1a2b58f59
tree97479312545eed6e865acc2c26230dabcc07df7e
parentc404e4fab3b4497a2d04bc9c171c5460b940bf91
asn1_lib.c: ASN1_put_object: Remove comment about "class 0".

ASN1_put_object() was preceded by the nonsensical comment:

  /*
   * class 0 is constructed constructed == 2 for indefinite length constructed
   */

This is the result of concatenating two sentences in 0f113f3ee4d by
automated reformatting.  The first sentence, "class 0 is constructed",
goes back to d02b48c63a, the import of SSLeay 0.8.1b.  Even in that
context, it made little sense; class 0 means "universal", not
constructed, and there is no special significance to class 0 in this
function in any case.

Therefore I have simply removed that first sentence.

CLA: trivial

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/14998)
crypto/asn1/asn1_lib.c