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

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


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 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.


More information about the CGit mailing list