From 2709d2ce6ab6f6d299bf44f2f209552438cf6a41 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 18 Apr 2012 01:30:48 +0000 Subject: 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 --- openssl-model.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'openssl-model.lua') 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) -- cgit v1.2.3