ASN.1 testing: add tests of bad DER encodings

Certificates with bad DER encoded ASN.1 added to testing.
Fix comment in asn.c.
This commit is contained in:
Sean Parkinson
2024-03-22 08:51:17 +10:00
parent 8970ff4c34
commit d4b1995a2c
6 changed files with 86 additions and 7 deletions
+4 -1
View File
@@ -29,7 +29,10 @@ EXTRA_DIST += \
certs/test/cert-ext-joi.cfg \
certs/test/cert-ext-multiple.cfg \
certs/test/cert-ext-multiple.der \
certs/test/cert-ext-multiple.pem
certs/test/cert-ext-multiple.pem \
certs/test/cert-bad-neg-int.der \
certs/test/cert-bad-oid.der \
certs/test/cert-bad-utf8.der
# The certs/server-cert with the last byte (signature byte) changed
EXTRA_DIST += \