Searched refs:peercert (Results 1 – 2 of 2) sorted by relevance
455 const mbedtls_x509_crt *peercert; in mbed_connect_step2() local510 peercert = mbedtls_ssl_get_peer_cert(&connssl->ssl); in mbed_connect_step2()512 if(peercert && data->set.verbose) { in mbed_connect_step2()519 if(mbedtls_x509_crt_info(buffer, bufsize, "* ", peercert) > 0) in mbed_connect_step2()533 if(!peercert || !peercert->raw.p || !peercert->raw.len) { in mbed_connect_step2()548 if(mbedtls_x509_crt_parse_der(p, peercert->raw.p, peercert->raw.len)) { in mbed_connect_step2()
466 const x509_crt *peercert; in polarssl_connect_step2() local468 peercert = ssl_get_peer_cert(&connssl->ssl); in polarssl_connect_step2()470 if(!peercert || !peercert->raw.p || !peercert->raw.len) { in polarssl_connect_step2()485 if(x509_crt_parse_der(p, peercert->raw.p, peercert->raw.len)) { in polarssl_connect_step2()