mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 17:05:36 +01:00
x509: trailing bytes in DER: correct a unit test
One of the unit test was failing, because it was testing behavior that was part of the bug. Updated the return value to the correct one
This commit is contained in:
parent
0b2423403c
commit
e154f95e03
@ -755,7 +755,7 @@ X509 Certificate ASN1 (Incorrect first tag)
|
||||
x509parse_crt:"":"":MBEDTLS_ERR_X509_INVALID_FORMAT
|
||||
|
||||
X509 Certificate ASN1 (Correct first tag, data length does not match)
|
||||
x509parse_crt:"300000":"":MBEDTLS_ERR_X509_INVALID_FORMAT + MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
|
||||
x509parse_crt:"300000":"":MBEDTLS_ERR_X509_INVALID_FORMAT + MBEDTLS_ERR_ASN1_OUT_OF_DATA
|
||||
|
||||
X509 Certificate ASN1 (Correct first tag, no more data)
|
||||
x509parse_crt:"3000":"":MBEDTLS_ERR_X509_INVALID_FORMAT + MBEDTLS_ERR_ASN1_OUT_OF_DATA
|
||||
|
Loading…
Reference in New Issue
Block a user