8000 tests/net_hosted/ssl_verify_callback.py: Make exp match actual output. · sylvinus/micropython@e1111d8 · GitHub
[go: up one dir, main page]

Skip to content

Commit e1111d8

Browse files
committed
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>
1 parent 1a2fdca commit e1111d8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
verify_callback: <class 'bytes'> True 2
2-
verify_callback: <class 'bytes'> True 1
3-
verify_callback: <class 'bytes'> True 0
4-
verify_callback_fail: <class 'bytes'> True 2
1+
verify_callback: <class 'memoryview'> True 1
2+
verify_callback: <class 'memoryview'> True 0
3+
verify_callback_fail: <class 'memoryview'> True 1
54
MBEDTLS_ERR_ERROR_GENERIC_ERROR

0 commit comments

Comments
 (0)
0