From e8c571638650c4c3878147fd09088d446184d2cc Mon Sep 17 00:00:00 2001 From: Kevin Wasserman Date: Tue, 10 Jun 2014 18:05:49 -0400 Subject: [PATCH] Correctly handle "ca-cert" in peerGetConfigBlob --- mech_eap/init_sec_context.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mech_eap/init_sec_context.c b/mech_eap/init_sec_context.c index 2e3764c..0ebdd9e 100644 --- a/mech_eap/init_sec_context.c +++ b/mech_eap/init_sec_context.c @@ -180,6 +180,8 @@ peerGetConfigBlob(void *ctx, index = CONFIG_BLOB_CLIENT_CERT; else if (strcmp(name, "private-key") == 0) index = CONFIG_BLOB_PRIVATE_KEY; + else if (strcmp(name, "ca-cert") == 0) + index = CONFIG_BLOB_CA_CERT; else return NULL; -- 2.1.4