lua entry thread aborted: runtime error: ...openresty/site/lualib/resty/openssl/include/evp/pkey.lua:218: attempt to perform arithmetic on field 'EVP_PKEY_OP_TYPE_CRYPT' (a nil value) stack traceback: coroutine 0: ...openresty/site/lualib/resty/openssl/include/evp/pkey.lua: in function 'EVP_PKEY_CTX_set_rsa_mgf1_md_name' /usr/local/openresty/site/lualib/resty/openssl/pkey.lua:170: in function '_pctx_ctrl_str' /usr/local/openresty/site/lualib/resty/openssl/pkey.lua:793: in function 'decrypt'
EVP_PKEY_OP_TYPE_CRYPT is not used in openssl3.x
but I dont know how to fix it
error info is
lua entry thread aborted: runtime error: ...openresty/site/lualib/resty/openssl/include/evp/pkey.lua:218: attempt to perform arithmetic on field 'EVP_PKEY_OP_TYPE_CRYPT' (a nil value) stack traceback: coroutine 0: ...openresty/site/lualib/resty/openssl/include/evp/pkey.lua: in function 'EVP_PKEY_CTX_set_rsa_mgf1_md_name' /usr/local/openresty/site/lualib/resty/openssl/pkey.lua:170: in function '_pctx_ctrl_str' /usr/local/openresty/site/lualib/resty/openssl/pkey.lua:793: in function 'decrypt'