mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
extmod/modtls_mbedtls: Implement cert verification callback for mbedtls.
This is a useful alternative to .getpeercert() when the certificate is not stored to reduce RAM usage. Signed-off-by: Felix Dörre <felix@dogcraft.de>
This commit is contained in:
committed by
Damien George
parent
b802f0f8ab
commit
aaba1d8a6c
5
tests/net_hosted/ssl_verify_callback.py.exp
Normal file
5
tests/net_hosted/ssl_verify_callback.py.exp
Normal file
@@ -0,0 +1,5 @@
|
||||
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
|
||||
MBEDTLS_ERR_ERROR_GENERIC_ERROR
|
||||
Reference in New Issue
Block a user