mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-14 17:56:27 +00:00
Move verify_result from ssl_context to session
This commit is contained in:
committed by
Paul Bakker
parent
43fdd617e1
commit
38d1eba3b5
@@ -83,6 +83,8 @@ int ssl_cache_get( void *data, ssl_session *session )
|
||||
|
||||
memcpy( session->master, entry->session.master, 48 );
|
||||
|
||||
session->verify_result = entry->session.verify_result;
|
||||
|
||||
#if defined(POLARSSL_X509_PARSE_C)
|
||||
/*
|
||||
* Restore peer certificate (without rest of the original chain)
|
||||
|
||||
Reference in New Issue
Block a user