Searched refs:peer_pkeys (Results 1 – 10 of 10) sorted by relevance
425 ret->peer_key = &(ret->peer_pkeys[SSL_PKEY_RSA_ENC]); in ssl_sess_cert_new()457 if (sc->peer_pkeys[i].x509 != NULL) in ssl_sess_cert_free()458 X509_free(sc->peer_pkeys[i].x509); in ssl_sess_cert_free()462 if (sc->peer_pkeys[i].privatekey != NULL) in ssl_sess_cert_free()463 EVP_PKEY_free(sc->peer_pkeys[i].privatekey); in ssl_sess_cert_free()
1304 if (sc->peer_pkeys[i].x509 != NULL) in ssl3_get_server_certificate()1305 X509_free(sc->peer_pkeys[i].x509); in ssl3_get_server_certificate()1306 sc->peer_pkeys[i].x509=x; in ssl3_get_server_certificate()1307 sc->peer_key= &(sc->peer_pkeys[i]); in ssl3_get_server_certificate()1542 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange()1549 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_DSA_SIGN].x509); in ssl3_get_key_exchange()1595 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange()1664 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange()1671 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_DSA_SIGN].x509); in ssl3_get_key_exchange()1772 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange()[all …]
1069 sc->peer_pkeys[SSL_PKEY_RSA_ENC].x509=x509; in ssl2_set_certificate()1070 sc->peer_key= &(sc->peer_pkeys[SSL_PKEY_RSA_ENC]); in ssl2_set_certificate()
995 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in dtls1_send_client_key_exchange()1276 sess_cert->peer_pkeys[SSL_PKEY_ECC].x509); in dtls1_send_client_key_exchange()
530 CERT_PKEY peer_pkeys[SSL_PKEY_NUM]; member
445 ret->peer_key = &(ret->peer_pkeys[SSL_PKEY_RSA_ENC]); in ssl_sess_cert_new()477 if (sc->peer_pkeys[i].x509 != NULL) in ssl_sess_cert_free()478 X509_free(sc->peer_pkeys[i].x509); in ssl_sess_cert_free()482 if (sc->peer_pkeys[i].privatekey != NULL) in ssl_sess_cert_free()483 EVP_PKEY_free(sc->peer_pkeys[i].privatekey); in ssl_sess_cert_free()
1305 if (sc->peer_pkeys[i].x509 != NULL) in ssl3_get_server_certificate()1306 X509_free(sc->peer_pkeys[i].x509); in ssl3_get_server_certificate()1307 sc->peer_pkeys[i].x509=x; in ssl3_get_server_certificate()1308 sc->peer_key= &(sc->peer_pkeys[i]); in ssl3_get_server_certificate()1543 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange()1550 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_DSA_SIGN].x509); in ssl3_get_key_exchange()1596 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange()1665 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange()1672 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_DSA_SIGN].x509); in ssl3_get_key_exchange()1773 pkey=X509_get_pubkey(s->session->sess_cert->peer_pkeys[SSL_PKEY_RSA_ENC].x509); in ssl3_get_key_exchange()[all …]
547 CERT_PKEY peer_pkeys[SSL_PKEY_NUM]; member