summaryrefslogtreecommitdiffstats
path: root/openssl-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-18 01:30:48 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-18 01:30:48 +0000
commit2709d2ce6ab6f6d299bf44f2f209552438cf6a41 (patch)
tree972626385dd163bdbfbf23ce19596d15cd103d6b /openssl-model.lua
parent83e08cd13891c97f9a0e4edf9d262860fc036d29 (diff)
downloadacf-openssl-2709d2ce6ab6f6d299bf44f2f209552438cf6a41.tar.bz2
acf-openssl-2709d2ce6ab6f6d299bf44f2f209552438cf6a41.tar.xz
Started work on updating for acf-core-0.15
Removed controllerfunctions library (still needs more work and corresponding work in model) Updated for viewfunctions to htmlviewfunctions and modified require statements for acf libraries
Diffstat (limited to 'openssl-model.lua')
-rwxr-xr-xopenssl-model.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/openssl-model.lua b/openssl-model.lua
index 44e1635..371b29b 100755
--- a/openssl-model.lua
+++ b/openssl-model.lua
@@ -2,9 +2,9 @@ module(..., package.seeall)
require("posix")
require("modelfunctions")
-require("fs")
-require("format")
-require("validator")
+fs = require("acf.fs")
+format = require("acf.format")
+validator = require("acf.validator")
-- There are two options of how to allow users to specify the type of certificate they want - the request extensions
-- and the ca signing extensions. We have opted for making all requests look the same (same extensions) and defining
@@ -247,7 +247,7 @@ local unhashname = function(hashstring)
end
getstatus = function()
- require("processinfo")
+ processinfo = require("acf.processinfo")
-- set the working directory once for model
posix.chdir(openssldir)
local value,errtxt=processinfo.package_version(packagename)