Skip to content

Commit db7e8e7

Browse files
committed
Merge branch 'master' of github.com:agentzh/lua-resty-string
2 parents 6edb545 + 7f30c49 commit db7e8e7

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

lib/resty/aes.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ local ffi_str = ffi.string
99
local ffi_copy = ffi.copy
1010
local C = ffi.C
1111
local setmetatable = setmetatable
12-
local error = error
12+
--local error = error
1313
local type = type
1414

1515

lib/resty/md5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ local ffi_new = ffi.new
66
local ffi_str = ffi.string
77
local C = ffi.C
88
local setmetatable = setmetatable
9-
local error = error
9+
--local error = error
1010

1111

1212
local _M = { _VERSION = '0.09' }

lib/resty/random.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ local ffi = require "ffi"
55
local ffi_new = ffi.new
66
local ffi_str = ffi.string
77
local C = ffi.C
8-
local setmetatable = setmetatable
9-
local error = error
8+
--local setmetatable = setmetatable
9+
--local error = error
1010

1111

1212
local _M = { _VERSION = '0.09' }

lib/resty/sha1.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
-- Copyright (C) by Yichun Zhang (agentzh)
22

33

4-
local sha = require "resty.sha"
4+
require "resty.sha"
55
local ffi = require "ffi"
66
local ffi_new = ffi.new
77
local ffi_str = ffi.string
88
local C = ffi.C
99
local setmetatable = setmetatable
10-
local error = error
10+
--local error = error
1111

1212

1313
local _M = { _VERSION = '0.09' }

lib/resty/sha224.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
-- Copyright (C) by Yichun Zhang (agentzh)
22

33

4-
local sha256 = require "resty.sha256"
4+
require "resty.sha256"
55
local ffi = require "ffi"
66
local ffi_new = ffi.new
77
local ffi_str = ffi.string
88
local C = ffi.C
99
local setmetatable = setmetatable
10-
local error = error
10+
--local error = error
1111

1212

1313
local _M = { _VERSION = '0.09' }

lib/resty/sha256.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
-- Copyright (C) by Yichun Zhang (agentzh)
22

33

4-
local sha = require "resty.sha"
4+
require "resty.sha"
55
local ffi = require "ffi"
66
local ffi_new = ffi.new
77
local ffi_str = ffi.string
88
local C = ffi.C
99
local setmetatable = setmetatable
10-
local error = error
10+
--local error = error
1111

1212

1313
local _M = { _VERSION = '0.09' }

lib/resty/sha384.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
-- Copyright (C) by Yichun Zhang (agentzh)
22

33

4-
local sha512 = require "resty.sha512"
4+
require "resty.sha512"
55
local ffi = require "ffi"
66
local ffi_new = ffi.new
77
local ffi_str = ffi.string
88
local C = ffi.C
99
local setmetatable = setmetatable
10-
local error = error
10+
--local error = error
1111

1212

1313
local _M = { _VERSION = '0.09' }

lib/resty/sha512.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
-- Copyright (C) by Yichun Zhang (agentzh)
22

33

4-
local sha = require "resty.sha"
4+
require "resty.sha"
55
local ffi = require "ffi"
66
local ffi_new = ffi.new
77
local ffi_str = ffi.string
88
local C = ffi.C
99
local setmetatable = setmetatable
10-
local error = error
10+
--local error = error
1111

1212

1313
local _M = { _VERSION = '0.09' }

lib/resty/string.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ local ffi = require "ffi"
55
local ffi_new = ffi.new
66
local ffi_str = ffi.string
77
local C = ffi.C
8-
local setmetatable = setmetatable
9-
local error = error
8+
--local setmetatable = setmetatable
9+
--local error = error
1010
local tonumber = tonumber
1111

1212

0 commit comments

Comments
 (0)