From c0be0977e76dce7d8eb69ca3dbe7a48c8faa3008 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Wed, 23 Sep 2009 15:51:40 +0200 Subject: fixed PKCS#7 wrapped certificate parsing --- src/pluto/pkcs7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pluto/pkcs7.c b/src/pluto/pkcs7.c index 57310a73c..1244653b6 100644 --- a/src/pluto/pkcs7.c +++ b/src/pluto/pkcs7.c @@ -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)) -- cgit v1.2.3