components/openssl: SSL load cert with creating new cert object
1. when 'SSL_new' SSL's cert is pointed to SSL context cert
If SSL load new cert, it will create a new cert object
2. change some debug informaion
This commit is contained in:
@@ -99,8 +99,6 @@ struct stack_st {
|
||||
|
||||
struct evp_pkey_st {
|
||||
|
||||
int ref;
|
||||
|
||||
void *pkey_pm;
|
||||
|
||||
const PKEY_METHOD *method;
|
||||
@@ -108,8 +106,6 @@ struct evp_pkey_st {
|
||||
|
||||
struct x509_st {
|
||||
|
||||
int ref;
|
||||
|
||||
/* X509 certification platform private point */
|
||||
void *x509_pm;
|
||||
|
||||
@@ -127,6 +123,7 @@ struct cert_st {
|
||||
};
|
||||
|
||||
struct ossl_statem_st {
|
||||
|
||||
MSG_FLOW_STATE state;
|
||||
|
||||
int hand_state;
|
||||
@@ -193,8 +190,14 @@ struct ssl_st
|
||||
/* shut things down(0x01 : sent, 0x02 : received) */
|
||||
int shutdown;
|
||||
|
||||
int crt_reload;
|
||||
|
||||
CERT *cert;
|
||||
|
||||
int ca_reload;
|
||||
|
||||
X509 *client_CA;
|
||||
|
||||
SSL_CTX *ctx;
|
||||
|
||||
const SSL_METHOD *method;
|
||||
@@ -208,8 +211,6 @@ struct ssl_st
|
||||
|
||||
int rwstate;
|
||||
|
||||
X509 *client_CA;
|
||||
|
||||
long verify_result;
|
||||
|
||||
X509_VERIFY_PARAM param;
|
||||
|
||||
Reference in New Issue
Block a user