Fix omitted selector handling.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 14 Jun 2016 16:44:22 +0000 (17:44 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 14 Jun 2016 18:15:51 +0000 (19:15 +0100)
commit7c46746bf2958fd2eccc59ecb48039e4e20ce38a
treeb7083e2ab989d57df8333385f81cea9dba224597
parent2dca984babedf93c560aba54da3f4c9222ee0d12
Fix omitted selector handling.

The selector field could be omitted because it has a DEFAULT value.
In this case *sfld == NULL (sfld can never be NULL). This was not
noticed because this was never used in existing ASN.1 modules.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/asn1/tasn_utl.c