From: Paul Hänsch Date: Tue, 8 Jun 2021 08:21:17 +0000 (+0200) Subject: Merge commit 'fcfbf01dba9c932dbb66abffa8f65bf1c7a15081' X-Git-Url: http://git.plutz.net/?a=commitdiff_plain;h=deaf5f6847c373f4c9b6757933d0fd73bf6cb446;hp=-c;p=confetti Merge commit 'fcfbf01dba9c932dbb66abffa8f65bf1c7a15081' --- deaf5f6847c373f4c9b6757933d0fd73bf6cb446 diff --combined cgilite/session.sh index b52ac0a,b9cef4d..b9cef4d --- a/cgilite/session.sh +++ b/cgilite/session.sh @@@ -3,6 -3,13 +3,13 @@@ [ -n "$include_session" ] && return 0 include_session="$0" + if ! which uuencode >/dev/null; then + uuencode() { busybox uuencode "$@"; } + fi + if ! which sha256sum >/dev/null; then + sha256sum() { busybox sha256sum "$@"; } + fi + _DATE="$(date +%s)" SESSION_TIMEOUT="${SESSION_TIMEOUT:-7200}"