Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Hold the avatar stub checks to an absolute hash
The stub mode checks only compared hashes with each other, and the stand-in digest took any algorithm name, so md5, a misspelt sha256 or hex in capitals passed everywhere luaossl is missing, which is every machine here. The comparisons also passed with no hash found on either side.
-rw-r--r--tests/extensions/harness.lua5
-rw-r--r--tests/extensions/test-email-avatar.lua30
2 files changed, 28 insertions, 7 deletions