After digging down deeper into the code, it seems it fails somewhere here: http://mxr.mozilla.org/security/source/security/nss/lib/util/secasn1e.c#897
It gives state->theTemplate to the SEC_ASN1GetSubTemplate-function, while state->theTemplate points to SECOID_AlgorithmIDTemplate, which is already the subtemplate. I fail to really understand the asn1 decoding code at the moment, but I find it likely it's a bug in there. -- Hanno Böck Blog: http://www.hboeck.de/ GPG: 3DBD3B20 Jabber/Mail: ha...@hboeck.de http://schokokeks.org - professional webhosting
signature.asc
Description: This is a digitally signed message part.
-- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto