/*
- * Copyright (c) 2011-2014, JANET(UK)
+ * Copyright (c) 2011-2016, JANET(UK)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
public static int main(string[] args)
{
- logger = new MoonshotLogger("WebProvisioning");
+ logger = new MoonshotLogger("WebProvisioning (WebpParser)");
int arg_index = -1;
int force_flat_file_store = 0;
/* use temp arrays to workaround centos array property bug */
var rules = card.rules;
- var services = card.services;
+ string[] svcs = new string[card.services.size];
+ for (int i = 0; i < card.services.size; i++) {
+ svcs[i] = card.services[i];
+ }
+
if (rules.length > 0)
{
int i = 0;
card.issuer,
rules_patterns,
rules_always_confirm,
- services,
+ svcs,
card.trust_anchor.ca_cert,
card.trust_anchor.subject,
card.trust_anchor.subject_alt,