[gnutls-devel] GnuTLS | tests: split up system-override-sig-hash.sh (!1298)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Jul 3 17:04:14 CEST 2020




Alexander Sosedkin commented on a discussion on tests/system-override-hash.sh: https://gitlab.com/gnutls/gnutls/-/merge_requests/1298#note_373457398

> +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> +
> +builddir="${builddir:-.}"
> +TMPFILE=c.$$.tmp
> +export GNUTLS_SYSTEM_PRIORITY_FAIL_ON_INVALID=1
> +
> +cat <<_EOF_ > ${TMPFILE}
> +[overrides]
> +
> +insecure-hash = sha256
> +insecure-hash = sha512
> +_EOF_
> +
> +export GNUTLS_SYSTEM_PRIORITY_FILE="${TMPFILE}"
> +
> +exec ${builddir}/system-override-hash

I've added cleanup and quoting, please take a second look.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1298#note_373457398
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200703/3853f6d4/attachment.html>


More information about the Gnutls-devel mailing list