List for cgit developers and users
 help / color / mirror / Atom feed
* Lua+openssl: require("openssl.digest") → require'openssl'.digest
@ 2020-04-22 14:13 
  0 siblings, 0 replies; only message in thread
From:  @ 2020-04-22 14:13 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-22 14:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22 14:13 Lua+openssl: require("openssl.digest") → require'openssl'.digest 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).