From 27497c1a213ff0b47e85417ab02bd8acd81b14c1 Mon Sep 17 00:00:00 2001 From: ttrask Date: Fri, 6 Feb 2009 19:57:10 +0000 Subject: Fixed openssl bug when more than 0xFF certs. git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1702 ab2d0c66-481e-0410-8bed-d214d4d58bed --- openssl-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openssl-model.lua') diff --git a/openssl-model.lua b/openssl-model.lua index 5998c98..5f4debd 100644 --- a/openssl-model.lua +++ b/openssl-model.lua @@ -469,7 +469,7 @@ approverequest = function(request) -- Add the serial number to the end of the cert file name local serialpath = getconfigentry(certtype, "serial") local serialfile = fs.read_file(serialpath) or "" - local serial = string.match(serialfile, "%x%x") + local serial = string.match(serialfile, "%x+") local certname = certdir..request.."."..serial -- Now, sign the certificate -- cgit v1.2.3