Searched refs:x509_peer (Results 1 – 3 of 3) sorted by relevance
177 if (session == NULL || session->x509_peer == NULL) { in SSL_get_peer_certificate()180 X509_up_ref(session->x509_peer); in SSL_get_peer_certificate()181 return session->x509_peer; in SSL_get_peer_certificate()530 X509_free(sess->x509_peer); in ssl_crypto_x509_session_cache_objects()534 sess->x509_peer = leaf; in ssl_crypto_x509_session_cache_objects()545 if (session->x509_peer != NULL) { in ssl_crypto_x509_session_dup()546 X509_up_ref(session->x509_peer); in ssl_crypto_x509_session_dup()547 new_session->x509_peer = session->x509_peer; in ssl_crypto_x509_session_dup()560 X509_free(session->x509_peer); in ssl_crypto_x509_session_clear()561 session->x509_peer = NULL; in ssl_crypto_x509_session_clear()
410 return session->x509_peer; in SSL_SESSION_get0_peer()
3905 X509 *x509_peer; member