Disallow ASN.1 enumerated types to be treated as strings.
authorPauli <pauli@openssl.org>
Tue, 6 Apr 2021 00:23:12 +0000 (10:23 +1000)
committerPauli <pauli@openssl.org>
Wed, 7 Apr 2021 13:29:10 +0000 (23:29 +1000)
commitccf19c23c03ff0355d5008f73b77a0e22ee8ca8c
tree29d29a4f51895fbc17b6c523290453d669f546c4
parent44e82b813fbec93664fa355a65024a56f6eb82d7
Disallow ASN.1 enumerated types to be treated as strings.

They are actually integers.

Problem reported by: Scott McPeak <scott.g.mcpeak@gmail.com>

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14774)
crypto/asn1/tasn_dec.c