gcr: Accept slightly invalid PKCS#12 files
authorStef Walter <stefw@collabora.co.uk>
Mon, 12 Sep 2011 10:21:05 +0000 (12:21 +0200)
committerStef Walter <stefw@collabora.co.uk>
Mon, 12 Sep 2011 10:40:58 +0000 (12:40 +0200)
commit0b1557f7da4f6688abb96c50f374435e73962967
tree137555a973d3cb1926a02f35ec7b475280aacf19
parent483ef5a82cd2a1834737c506e85031d26b719557
gcr: Accept slightly invalid PKCS#12 files

 * In particular when the order of a SET OF is incorrect as is generated
   by certain implementations.
 * Revert cbecc802e8cf5803aac9fbd3c546b539773220b2 since this fix was
   wrong.
 * Add egg_asn1x_decode_no_validate() so that callers can validate on
   their own and specify validation options.
egg/egg-asn1x.c
egg/egg-asn1x.h
gcr/gcr-parser.c