Skip to content

Conversation

@gilles-peskine-arm
Copy link
Contributor

The test case "Memory buffer small buffer" emits a message
"FATAL: verification of first header failed". In this test case, it's
actually expected, but it looks weird to see this message from a
passing test. Add a comment that states this explicitly, and modify
the test description to indicate that the failure is expected, and
change the test function name to be more accurate.

Fix Mbed-TLS#309
None of the test cases in tests_suite_memory_buffer_alloc actually
need MBEDTLS_MEMORY_DEBUG. Some have additional checks when
MBEDTLS_MEMORY_DEBUG but all are useful even without it. So enable
them all and #ifdef out the parts that require DEBUG.
@gilles-peskine-arm gilles-peskine-arm added mbed TLS team needs-review Every commit must be reviewed by at least two team members, component-crypto Crypto primitives and low-level interfaces labels Nov 26, 2019
@gilles-peskine-arm gilles-peskine-arm added the needs-ci Needs to pass CI tests label Nov 26, 2019
Copy link
Contributor

@AndrzejKurek AndrzejKurek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an identical backport.

@Patater Patater merged commit 269d414 into Mbed-TLS:mbedtls-2.16 Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component-crypto Crypto primitives and low-level interfaces needs-ci Needs to pass CI tests needs-review Every commit must be reviewed by at least two team members,

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants