From 46d0799c43e31ca04108cfb31b59486f1a7989db Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 13 Nov 2017 17:00:58 +0100 Subject: cgi-io: support SHA256 checksums for file uploads Report SHA256 checksums in addition to the MD5 ones to make cgi-io suitable for sysupgrade image verification. Also allow stat(), md5sum and/or sha256sum to fail and respond with a JSON null value instead, leaving it to the frontend to handle errors as needed. Fixes #4790. Signed-off-by: Jo-Philipp Wich --- net/cgi-io/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/cgi-io/Makefile') diff --git a/net/cgi-io/Makefile b/net/cgi-io/Makefile index b8dd6f071..cda049463 100644 --- a/net/cgi-io/Makefile +++ b/net/cgi-io/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=cgi-io -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_LICENSE:=GPL-2.0+ -- cgit v1.2.3