Home
last modified time | relevance | path

Searched refs:serverCert (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/net/third_party/nss/ssl/
Dsslsecur.c748 if (sc->serverCert != NULL) { in ssl_ConfigSecureServer()
749 CERT_DestroyCertificate(sc->serverCert); in ssl_ConfigSecureServer()
750 sc->serverCert = NULL; in ssl_ConfigSecureServer()
759 sc->serverCert = CERT_DupCertificate(cert); in ssl_ConfigSecureServer()
764 CERT_CertChainFromCert(sc->serverCert, certUsageSSLServer, in ssl_ConfigSecureServer()
798 if (sc->serverCert != NULL) { in ssl_ConfigSecureServer()
799 CERT_DestroyCertificate(sc->serverCert); in ssl_ConfigSecureServer()
800 sc->serverCert = NULL; in ssl_ConfigSecureServer()
Dsslsock.c332 if (oc->serverCert && oc->serverCertChain) { in ssl_DupSocket()
333 sc->serverCert = CERT_DupCertificate(oc->serverCert); in ssl_DupSocket()
338 sc->serverCert = NULL; in ssl_DupSocket()
457 if (sc->serverCert != NULL) in ssl_DestroySocketContents()
458 CERT_DestroyCertificate(sc->serverCert); in ssl_DestroySocketContents()
1755 if (mc->serverCert && mc->serverCertChain) { in SSL_ReconfigFD()
1756 if (sc->serverCert) { in SSL_ReconfigFD()
1757 CERT_DestroyCertificate(sc->serverCert); in SSL_ReconfigFD()
1759 sc->serverCert = CERT_DupCertificate(mc->serverCert); in SSL_ReconfigFD()
3149 sc->serverCert = NULL; in ssl_NewSocket()
Dsslcon.c2455 derCert = &ss->serverCerts[kt_rsa].serverCert->derCert; in ssl2_HandleClientCertificate()
3306 CERTCertificate *serverCert; in ssl2_HandleClientHelloMessage() local
3332 serverCert = sc->serverCert; in ssl2_HandleClientHelloMessage()
3486 SECItem * derCert = &serverCert->derCert; in ssl2_HandleClientHelloMessage()
3490 if (!serverCert) { in ssl2_HandleClientHelloMessage()
3518 sid->localCert = CERT_DupCertificate(serverCert); in ssl2_HandleClientHelloMessage()
3532 ss->sec.localCert = CERT_DupCertificate(serverCert); in ssl2_HandleClientHelloMessage()
3631 !rsaAuth->serverCert) { in ssl2_BeginServerHandshake()
Dssl3ecc.c987 svrCert = ss->serverCerts[kt_rsa].serverCert; in ssl3_FilterECCipherSuitesByServerCerts()
992 svrCert = ss->serverCerts[kt_ecdh].serverCert; in ssl3_FilterECCipherSuitesByServerCerts()
Dsslimpl.h349 CERTCertificate * serverCert; member
Dssl3con.c8470 CERT_DupCertificate(ss->serverCerts[sid->keaType].serverCert); in ssl3_HandleClientHello()
9926 ss->sec.localCert = CERT_DupCertificate(sc->serverCert); in ssl3_SendCertificate()