增加sql的waf功能

This commit is contained in:
琴心
2022-03-03 16:16:53 +08:00
parent 5910cb2983
commit fcace799df
54 changed files with 12617 additions and 73 deletions

19
resty/sha.lua Normal file
View File

@@ -0,0 +1,19 @@
-- Copyright (C) by Yichun Zhang (agentzh)
local ffi = require "ffi"
local _M = { _VERSION = '0.14' }
ffi.cdef[[
typedef unsigned long SHA_LONG;
typedef unsigned long long SHA_LONG64;
enum {
SHA_LBLOCK = 16
};
]];
return _M