]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
fixed PKCS#7 wrapped certificate parsing
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 23 Sep 2009 13:51:40 +0000 (15:51 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 23 Sep 2009 13:52:30 +0000 (15:52 +0200)
src/pluto/pkcs7.c

index 57310a73c460a638daa64d105e2a81a218c30fc5..1244653b6202ed0a0169a17a014c3cf4101e5298 100644 (file)
@@ -224,7 +224,7 @@ bool pkcs7_parse_signedData(chunk_t blob, contentInfo_t *data, x509cert_t **cert
                return FALSE;
        }
 
-       parser = asn1_parser_create(signedDataObjects, blob);
+       parser = asn1_parser_create(signedDataObjects, cInfo.content);
        parser->set_top_level(parser, 2);
 
        while (parser->iterate(parser, &objectID, &object))