mirror of
https://github.com/W3SLAV/micropython.git
synced 2025-06-19 03:55:44 -04:00
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>
This commit is contained in:
parent
1a2fdcac0d
commit
e1111d873a
@ -1,5 +1,4 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user