trusted_enumerate requires an additional argument
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 21 Jan 2015 22:54:33 +0000 (23:54 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 21 Jan 2015 22:54:53 +0000 (23:54 +0100)
src/libimcv/plugins/imv_attestation/imv_attestation_process.c

index 89a1f02..bad536a 100644 (file)
@@ -198,7 +198,7 @@ bool imv_attestation_process(pa_tnc_attr_t *attr, imv_msg_t *out_msg,
 
                                e = pts_credmgr->create_trusted_enumerator(pts_credmgr,
                                                        KEY_ANY, aik->get_issuer(aik), FALSE);
-                               while (e->enumerate(e, &issuer))
+                               while (e->enumerate(e, &issuer, NULL))
                                {
                                        if (aik->issued_by(aik, issuer, NULL))
                                        {