diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2016-11-19 21:09:53 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2016-11-28 07:52:31 +0100 |
commit | cb7ab730c76c47bbcb1f8ba4cd8df8d4b1071e55 (patch) | |
tree | adc7345be2c5ee58779596bd8078290047e5c97d /target/linux | |
parent | 93715427835e747f0e0b348c8a3ce91dd68ef4f9 (diff) | |
download | mtk-20170518-cb7ab730c76c47bbcb1f8ba4cd8df8d4b1071e55.zip mtk-20170518-cb7ab730c76c47bbcb1f8ba4cd8df8d4b1071e55.tar.gz mtk-20170518-cb7ab730c76c47bbcb1f8ba4cd8df8d4b1071e55.tar.bz2 |
firmware-utils: replace md5 code with Alexander Peslyak's implementation
Our current implementation is pretty old and uses some pre-standard/old
ANSI C style that triggers warnings like:
warning: call to function 'MD5_Init' without a real prototype [-Wunprototyped-calls]
This is caused by declarations specified in a following way:
src/md5.h:60:6: note: 'MD5_Init' was declared here
void MD5_Init ();
Having these warnings makes it harded to notice real problems. We could
try hiding them but it makes more sense to just use a cleaner code.
Another tiny gain from this switch is slightly reduced binary size, on
x86_64 tplink-safeloader's size 48104 became 48003.
The new code is public domain, uses "heavily cut-down BSD license".
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux')
0 files changed, 0 insertions, 0 deletions