a_strex.c: improve documentation of 'tag2nbyte' lookup table
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Fri, 20 Apr 2018 15:55:02 +0000 (17:55 +0200)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Tue, 24 Apr 2018 06:06:11 +0000 (08:06 +0200)
commitd8f436f3cf771d519573460b14ece6ed01a157ff
tree0efa7c89faf55350f2e2d3dd4d20b23428a99819
parent39df51522ba2e3773ae2f1d4df5a6031ef41c1ba
a_strex.c: improve documentation of 'tag2nbyte' lookup table

The 'tag2nbyte' lookup table maps the tags of ASN1 string types
to their respective character widths. It is used for example by
ASN1_STRING_to_UTF8(). This commit adds the tag names as comments.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6062)
crypto/asn1/a_strex.c