On Tue, Mar 12, 2013, Patrick Patterson wrote:

> Hi OpenSSL Developers,
> 
> I think we've just discovered a bug, either in our understanding of how to 
> properly code various structures, or in the OpenSSL encoding i2d and d2i 
> routines for constructs that contain implicitly tagged, but optional General 
> names. 
> 

The GeneralName structure is a CHOICE type so you have to explicitly tag it or
you change the tag which tells the encoder which type to use.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to