diff options
author | Ted Trask <ttrask01@yahoo.com> | 2015-01-31 11:35:25 -0500 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-01-31 11:35:25 -0500 |
commit | 04feaaceb5de55bf95dfc712ab97641b194a222b (patch) | |
tree | cfe683f7dfb73e55ddb59cdc2692d9e87e7af908 /openssl-controller.lua | |
parent | aac2c6c96fe4be58b4ad7de8840542471903e806 (diff) | |
download | acf-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.lua | 6 |
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 |