Oops, let me take back some of my advice:
I think accepting both CRYPT_E_ASN1_LARGE and CRYPT_E_ASN1_EOD, along with a value that results in CRYPT_E_ASN1_EOD, would be a useful fix.
I should read my own comments. If it returns CRYPT_E_ASN1_EOD on WinME, that means the test is just wrong on WinME--as the comment says, it's trying to detect a case where CRYPT_E_ASN1_EOD isn't returned. So the test should just be removed.
--Juan
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs