summaryrefslogtreecommitdiffstats
path: root/openssl-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2015-01-31 11:35:25 -0500
committerTed Trask <ttrask01@yahoo.com>2015-01-31 11:35:25 -0500
commit04feaaceb5de55bf95dfc712ab97641b194a222b (patch)
treecfe683f7dfb73e55ddb59cdc2692d9e87e7af908 /openssl-controller.lua
parentaac2c6c96fe4be58b4ad7de8840542471903e806 (diff)
downloadacf-openssl-04feaaceb5de55bf95dfc712ab97641b194a222b.tar.bz2
acf-openssl-04feaaceb5de55bf95dfc712ab97641b194a222b.tar.xz
Updated the three download/stream actions to properly handle clientdata in the model
Relies on acf-core-0.19 update to template-stream.html
Diffstat (limited to 'openssl-controller.lua')
-rw-r--r--openssl-controller.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/openssl-controller.lua b/openssl-controller.lua
index 994c00b..450332c 100644
--- a/openssl-controller.lua
+++ b/openssl-controller.lua
@@ -72,7 +72,7 @@ end
-- Get the specified cert
mymodule.getcert = function(self)
- return self.model.getcert(self.clientdata.cert)
+ return self.model.getcert(self, self.clientdata)
end
-- Revoke the specified cert
@@ -97,7 +97,7 @@ end
-- Get the revoked list
mymodule.getrevoked = function(self)
- return self.model.getcrl(self.clientdata.crltype)
+ return self.model.getcrl(self, self.clientdata)
end
-- Put the CA cert
@@ -106,7 +106,7 @@ mymodule.putcacert = function(self)
end
mymodule.downloadcacert = function(self)
- return self.model.getca(self.clientdata.certtype)
+ return self.model.getca(self, self.clientdata)
end
-- Generate a self-signed CA