aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-09-23 15:51:40 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-09-23 15:52:30 +0200
commitc0be0977e76dce7d8eb69ca3dbe7a48c8faa3008 (patch)
treeb1e842dce809aee2c2a3aba6e942ee53a72da8ea /src
parent840743479a77359d841a20a04e6cb6d6d05eb264 (diff)
downloadstrongswan-c0be0977e76dce7d8eb69ca3dbe7a48c8faa3008.tar.bz2
strongswan-c0be0977e76dce7d8eb69ca3dbe7a48c8faa3008.tar.xz
fixed PKCS#7 wrapped certificate parsing
Diffstat (limited to 'src')
-rw-r--r--src/pluto/pkcs7.c2
1 files changed, 1 insertions, 1 deletions
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))