• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zhaozg / lua-openssl / 30751039922
94%
master: 93%

Build:
Build:
LAST BUILD BRANCH: v0.x
DEFAULT BRANCH: master
Ran 02 Aug 2026 02:00PM UTC
Jobs 1
Files 45
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Aug 2026 01:57PM UTC coverage: 93.931%. Remained the same
30751039922

push

travis-ci

zhaozg
test(mac): fix \xNN escapes breaking PUC Lua 5.1

test/2.mac.lua used \xNN hex escapes in string literals for the CMAC
message and key. PUC Lua 5.1 does not support \x escapes (added in
5.2), so "\x0F" silently becomes the 3-char text "x0F" and the 16-byte
AES-128 CMAC key grows to 48 bytes, making mac.ctx("aes-128-cbc", key)
fail with "invalid key length" (EVP_R_INVALID_KEY_LENGTH from
EVP_CIPHER_CTX_set_key_length in CMAC_Init).

LuaJIT and Lua 5.2+ parse \x correctly, which is why only the lua5.1
matrix entry of CI failed (not ok TestMAC.testFinalized, run
30746477060). testCMAC had been silently swallowing the same failure
via print("Bugs, ..."), so the regression predates testFinalized.

Replace the escapes with string.char() hex numeric literals, which are
valid on every supported Lua (5.1/5.2/5.3/5.4/5.5 + LuaJIT) and match
the style already used in test/3.cipher.lua.

10617 of 11303 relevant lines covered (93.93%)

2000.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30751039922.1 02 Aug 2026 02:04PM UTC 45
93.93
Travis Job
Source Files on build 30751039922
  • Tree
  • List 45
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a31e33c9 on github
  • Prev Build on v0.x (#30746477064)
  • Next Build on v0.x (#30825896719)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc