Lua+openssl: require("openssl.digest") → require'openssl'.digest

Дилян Палаузов dilyan.palauzov at aegee.org
Wed Apr 22 16:13:39 CEST 2020


Hello,

I do not pretend to understand anything about Lua, but filters/email-gravatar.lua contains
  local digest = require("openssl.digest")

which apparently means to open the digest file in the openssl directory.

I installed https://github.com/zhaozg/lua-openssl which recommends the syntax:
  local digest = require'openssl'.digest

and that latter syntax does work.  This change is likely also good for the other lua-cgit-filters, which I do not use.

Greetings
  Дилян



More information about the CGit mailing list