Move verify_result from ssl_context to session
This commit is contained in:
parent
43fdd617e1
commit
38d1eba3b5
4 changed files with 12 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue