Commit e1111d87 authored by Damien George's avatar Damien George

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: default avatarDamien George <damien@micropython.org>
parent 1a2fdcac
verify_callback: <class 'bytes'> True 2
verify_callback: <class 'bytes'> True 1
verify_callback: <class 'bytes'> True 0
verify_callback_fail: <class 'bytes'> True 2
verify_callback: <class 'memoryview'> True 1
verify_callback: <class 'memoryview'> True 0
verify_callback_fail: <class 'memoryview'> True 1
MBEDTLS_ERR_ERROR_GENERIC_ERROR
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment