Lines Matching refs:SESS_CERT
1161 SESS_CERT *sc;
1254 if (s->session->sess_cert) ssl_sess_cert_free(s->session->sess_cert);
1255 s->session->sess_cert=sc;
1379 session->sess_cert anyway to avoid problems
1383 s->session->sess_cert=ssl_sess_cert_new();
1394 if (s->session->sess_cert != NULL)
1397 if (s->session->sess_cert->peer_rsa_tmp != NULL)
1399 RSA_free(s->session->sess_cert->peer_rsa_tmp);
1400 s->session->sess_cert->peer_rsa_tmp=NULL;
1404 if (s->session->sess_cert->peer_dh_tmp)
1406 DH_free(s->session->sess_cert->peer_dh_tmp);
1407 s->session->sess_cert->peer_dh_tmp=NULL;
1411 if (s->session->sess_cert->peer_ecdh_tmp)
1413 EC_KEY_free(s->session->sess_cert->peer_ecdh_tmp);
1414 s->session->sess_cert->peer_ecdh_tmp=NULL;
1420 s->session->sess_cert=ssl_sess_cert_new();
1541 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509);
1548 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_DSA_SIGN].x509);
1594 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509);
1600 s->session->sess_cert->peer_rsa_tmp=rsa;
1663 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509);
1670 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_DSA_SIGN].x509);
1674 s->session->sess_cert->peer_dh_tmp=dh;
1771 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509);
1775 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_ECC].x509);
1779 s->session->sess_cert->peer_ecdh_tmp=ecdh;
2331 if (s->session->sess_cert->peer_rsa_tmp != NULL)
2332 rsa=s->session->sess_cert->peer_rsa_tmp;
2335 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509);
2523 if (s->session->sess_cert == NULL)
2530 if (s->session->sess_cert->peer_dh_tmp != NULL)
2531 dh_srvr=s->session->sess_cert->peer_dh_tmp;
2620 if (s->session->sess_cert->peer_ecdh_tmp != NULL)
2622 tkey = s->session->sess_cert->peer_ecdh_tmp;
2628 sess_cert->peer_pkeys[SSL_PKEY_ECC].x509);
2782 peer_cert=s->session->sess_cert->peer_pkeys[(keytype=SSL_PKEY_GOST01)].x509;
2784 peer_cert=s->session->sess_cert->peer_pkeys[(keytype=SSL_PKEY_GOST94)].x509;
3246 SESS_CERT *sc;
3261 sc=s->session->sess_cert;
3269 rsa=s->session->sess_cert->peer_rsa_tmp;
3272 dh=s->session->sess_cert->peer_dh_tmp;