[gnutls-devel] GnuTLS | pkcs7: allow BER encoding when parsing encapContentInfo.eContent (!803)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Nov 14 12:53:01 CET 2018


Nikos Mavrogiannopoulos started a new discussion on tests/cert-tests/pkcs7:

>  	exit ${rc}
>  fi
>  
> +if test "x$ALLOW_SHA1" = "x1"
> +then
> +	# Test BER encoding, see RFC 4134 Section 4.5
> +	FILE="rfc4134-4.5"
> +	${VALGRIND} "${CERTTOOL}" --p7-verify --load-ca-certificate "${srcdir}/data/rfc4134-ca-rsa.pem" --infile "${srcdir}/data/rfc4134-4.5.p7b" --inder

Why not use `--verify-allow-broken` instead of disabling that test when SHA1 is disallowed?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/803#note_117191086
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/20181114/fe449711/attachment.html>


More information about the Gnutls-devel mailing list