We can't change the parameters of functions at all if we wish to maintain binary compatibility and if we wanted additional ASN.1 parsing flags in future we'd need further functions.
An alternative would be to pass an opaque structure with the printing parameters to an extended version of ASN1_parse. The existing ASN1_PCTX could be used for this purpose if it was extended. The existing ASN1_parse* variants would then be a special case. 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 openssl-dev@openssl.org Automated List Manager majord...@openssl.org