[OpenWrt-Devel] Sha256 checksum generation of images: why OpenSSL instead of sha256sum?

John Crispin john at phrozen.org
Tue Mar 22 03:55:06 EDT 2016



On 22/03/2016 08:51, Bastian Bittorf wrote:
> * Stijn Segers <francesco.borromini at inventati.org> [22.03.2016 08:47]:
>> Is there a specific reason why OpenSSL is used instead of sha256sum?
> 
> it's all about portability. OpenSSL is widely available, and sha256 not.
> maybe you can 'sanitize' the output somehow?
> 
> bye, bastian
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 


i copied it from the buildbot setup and they use openssl for portability
afaik

	John
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list