Steve Henson said: > BOOLEAN is an evil thing for the ASN1 code. Its declared as an 'int'. > Every other type is declared as a pointer which is allocated as > required: if it is NULL then the field is omitted (I'll be adding a > check to see if thats allowed at some point: i.e. only if the type is > OPTIONAL, DEFAULT). This means that the handling has lots of > cases where > you have "do this for BOOLEAN" and "do this for everything else". Would it be possible to define a version number for the DER encoder/decoder such that existing code can continue to represent a BOOLEAN as an int and next version code can represent a BOOLEAN as an unsigned char *? Frank ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
