diff options
author | Ted Trask <ttrask01@yahoo.com> | 2016-02-24 16:24:15 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2016-02-24 16:24:15 +0000 |
commit | 79874d7c8b114634f7f336bf68179c27cc8eac28 (patch) | |
tree | 9c99413d7d12f1aeb15e1fc9d9759d8e9978b108 | |
parent | 786a1cc68e9fa32560fe2cdadaceb3db8b15cbcb (diff) | |
download | acf-openssl-79874d7c8b114634f7f336bf68179c27cc8eac28.tar.bz2 acf-openssl-79874d7c8b114634f7f336bf68179c27cc8eac28.tar.xz |
Change ACF list to structure for accuracy
-rw-r--r-- | openssl-model.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl-model.lua b/openssl-model.lua index bcd14c5..a355d98 100644 --- a/openssl-model.lua +++ b/openssl-model.lua @@ -291,7 +291,7 @@ local listrequests = function(user) local a,b,c = string.match(name, "([^%.]*)%.([^%.]*)%.([^%.]*)") list[#list + 1] = {request=name, user=a, certtype=b, commonName=unhashname(c)} end - return cfe({ type="list", value=list, label="List of pending requests" }) + return cfe({ type="structure", value=list, label="List of pending requests" }) end local listcerts = function(user) @@ -331,7 +331,7 @@ local listcerts = function(user) list[i].daysremaining = time end - return cfe({ type="list", value=list, label="List of approved certificates" }) + return cfe({ type="structure", value=list, label="List of approved certificates" }) end local listrevoked = function() |