From e1111d873aaa342df9e0b121cacf9f5184e41a58 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 27 May 2024 11:46:56 +1000 Subject: [PATCH] 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 --- tests/net_hosted/ssl_verify_callback.py.exp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/net_hosted/ssl_verify_callback.py.exp b/tests/net_hosted/ssl_verify_callback.py.exp index e27dcbb9d..e4564ce5a 100644 --- a/tests/net_hosted/ssl_verify_callback.py.exp +++ b/tests/net_hosted/ssl_verify_callback.py.exp @@ -1,5 +1,4 @@ -verify_callback: True 2 -verify_callback: True 1 -verify_callback: True 0 -verify_callback_fail: True 2 +verify_callback: True 1 +verify_callback: True 0 +verify_callback_fail: True 1 MBEDTLS_ERR_ERROR_GENERIC_ERROR