Files
micropython/tests/net_hosted/ssl_verify_callback.py.exp
Damien George e1111d873a tests/net_hosted/ssl_verify_callback.py: Make exp match actual output.
The `cert` argument passed to the verify callback is actually a memoryview.
And the `depth` argument seems to start at 1 for the tested URL.

Signed-off-by: Damien George <damien@micropython.org>
2024-05-27 13:56:55 +10:00

5 lines
172 B
Plaintext

verify_callback: <class 'memoryview'> True 1
verify_callback: <class 'memoryview'> True 0
verify_callback_fail: <class 'memoryview'> True 1
MBEDTLS_ERR_ERROR_GENERIC_ERROR