Lines Matching refs:cert
4 #include "cert.h"
36 CERTCertificate *cert;
53 cert = CERT_DupCertificate(ss->sec.peerCert);
54 if (CERT_AddCertToListTail(chain, cert) != SECSuccess) {
58 cert = CERT_DupCertificate(cur->cert);
59 if (CERT_AddCertToListTail(chain, cert) != SECSuccess) {
155 CERTCertificate *cert;
157 cert = ss->sec.peerCert;
158 if (cert) {
160 *ip = CERT_NameToAscii(&cert->issuer);
163 *sp = CERT_NameToAscii(&cert->subject);
321 /* cert is OK. This is the client side of an SSL connection.
322 * Now check the name field in the cert against the desired hostname.