List for cgit developers and users
 help / color / 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, back to index

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 

List for cgit developers and users

Archives are clonable: git clone --mirror http://inbox.vuxu.org/cgit

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.cgit


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git