Correctly handle "ca-cert" in peerGetConfigBlob
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Tue, 10 Jun 2014 22:05:49 +0000 (18:05 -0400)
committerKevin Wasserman <kevin.wasserman@painless-security.com>
Tue, 10 Jun 2014 22:05:49 +0000 (18:05 -0400)
mech_eap/init_sec_context.c

index 2e3764c..0ebdd9e 100644 (file)
@@ -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;