components/openssl: add SSL session function

1. add SSL session new and free function
2. add SSL session peer cert get and free operation
3. above all, change low-level cert object to be object point not object
This commit is contained in:
Dong Heng
2016-09-23 18:13:10 +08:00
parent 83aea6c833
commit d2bc170b86
4 changed files with 161 additions and 98 deletions
@@ -213,7 +213,7 @@ struct ssl_st
/* where we are */
OSSL_STATEM statem;
SSL_SESSION session;
SSL_SESSION *session;
int verify_mode;