Software /
code /
prosody
Comparison
util/hashes.lua @ 194:4ea1ec218976
Fix MD5 loading check
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 02 Nov 2008 01:19:23 +0000 |
parent | 155:8c9a9f6f6455 |
child | 407:7ae008771391 |
comparison
equal
deleted
inserted
replaced
193:13ac34255c37 | 194:4ea1ec218976 |
---|---|
21 return md5_sumhexa(input); | 21 return md5_sumhexa(input); |
22 end | 22 end |
23 else | 23 else |
24 error("md5 library found, but unrecognised... no hash functions will be available", 0); | 24 error("md5 library found, but unrecognised... no hash functions will be available", 0); |
25 end | 25 end |
26 else | |
27 error("No md5 library found. Install md5 using luarocks, for example", 0); | |
26 end | 28 end |
27 | 29 |
28 return _M; | 30 return _M; |