Home | History | Annotate | Download | only in ssl

Lines Matching refs:opt

206 	return ss->opt.enableDeflate;
642 if (!ss->opt.enableSSL3 && !ss->opt.enableTLS) {
746 if (!ss->opt.enableSSL3 && !ss->opt.enableTLS) {
764 if (!ss->opt.enableSSL3 && !ss->opt.enableTLS) {
801 if (ss->opt.enableTLS) {
803 } else if (ss->opt.enableSSL3) {
807 PORT_Assert(ss->opt.enableSSL3 || ss->opt.enableTLS);
814 if ((version == SSL_LIBRARY_VERSION_3_1_TLS && ss->opt.enableTLS) ||
815 (version == SSL_LIBRARY_VERSION_3_0 && ss->opt.enableSSL3)) {
1175 /* PORT_Assert( ss->opt.noLocks || ssl_HaveSpecWriteLock(ss)); Don't have ss! */
1222 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
1448 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
1628 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
1768 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
1782 if (ss->opt.bypassPKCS11 && pwSpec->msItem.len && pwSpec->msItem.data) {
2196 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss) );
2309 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss) );
2396 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
2397 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss) );
2457 if ((ss->opt.requireCertificate == SSL_REQUIRE_ALWAYS) ||
2459 (ss->opt.requireCertificate == SSL_REQUIRE_FIRST_HANDSHAKE))) {
2586 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
2587 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
2696 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss) );
2697 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
2746 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
2747 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
2823 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
2824 PORT_Assert( ss->opt.noLocks || ssl_HaveSpecWriteLock(ss));
2864 if (!isDH && pwSpec->master_secret && ss->opt.detectRollBack) {
2910 if (ss->opt.bypassPKCS11) {
2923 ss->opt.bypassPKCS11 = 0;
2987 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
2988 PORT_Assert( ss->opt.noLocks || ssl_HaveSpecWriteLock(ss));
3092 if (ss->opt.bypassPKCS11) {
3123 if (ss->opt.bypassPKCS11) {
3170 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
3174 if (ss->opt.bypassPKCS11) {
3207 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) ); /* protects sendBuf. */
3322 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
3323 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
3354 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
3355 PORT_Assert( ss->opt
3434 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
3436 if (ss->opt.bypassPKCS11) {
3724 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
3725 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss) );
3749 sid = (ss->opt.noCache) ? NULL
3762 if (sid->u.ssl3.masterValid && !ss->opt.bypassPKCS11) {
3844 PORT_Assert(ss->opt.enableSSL3 || ss->opt.enableTLS);
3845 if (!ss->opt.enableSSL3 && !ss->opt.enableTLS) {
3855 if (ss->opt.enableTLS && ss->version > SSL_LIBRARY_VERSION_3_0) {
4007 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
4008 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
4017 if (ss->opt.enableRenegotiation == SSL_RENEGOTIATE_NEVER) {
4480 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
4481 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss));
4569 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
4570 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss));
4661 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss));
4662 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
4733 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss));
4734 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
4811 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
4812 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
4969 if (ss->opt.bypassPKCS11) {
5009 } else if (ss->opt.bypassPKCS11) {
5111 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
5112 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
5162 &hashes, ss->opt.bypassPKCS11);
5248 &hashes, ss->opt.bypassPKCS11);
5344 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
5345 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
5586 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
5587 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
5667 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
5668 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss) );
5739 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
5740 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss) );
5789 if (ss->opt.requestCertificate) {
5800 ss->ssl3.hs.ws = (ss->opt.requestCertificate) ? wait_client_cert
5830 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
5831 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
5857 ss->opt.enableRenegotiation == SSL_RENEGOTIATE_NEVER) {
5934 if (sidBytes.len > 0 && !ss->opt.noCache) {
5988 if ((sid->peerCert == NULL) && ss->opt.requestCertificate &&
5989 ((ss->opt.requireCertificate == SSL_REQUIRE_ALWAYS) ||
5990 (ss->opt.requireCertificate == SSL_REQUIRE_NO_ERROR) ||
5991 ((ss->opt.requireCertificate == SSL_REQUIRE_FIRST_HANDSHAKE)
6154 if (ss->opt.bypassPKCS11) {
6185 } else if (ss->opt.bypassPKCS11) {
6356 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
6514 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss));
6515 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
6609 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss));
6610 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
6625 &hashes, ss->opt.bypassPKCS11);
6709 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss));
6710 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
6767 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss));
6768 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
6797 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
6798 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
6860 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
6868 PORT_Assert( ss->opt.noLocks || ssl_HaveSpecWriteLock(ss));
6935 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
6936 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
6958 if (ss->opt.bypassPKCS11) {
6972 } else if (ss->opt.detectRollBack) {
7050 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
7051 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
7177 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
7178 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
7295 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss));
7296 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
7417 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
7418 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
7820 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss));
7821 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
7859 PORT_Assert( ss->opt.noLocks || ssl_HaveXmitBufLock(ss));
7860 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
7997 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
7998 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
8106 if (sid->cached == never_cached && !ss->opt.noCache && ss->sec.cache) {
8172 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
8173 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
8338 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
8339 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
8481 PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
8753 spec->version = ss->opt.enableTLS
8774 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss));
9004 if (!ss->opt.enableSSL3 && !ss->opt.enableTLS) {
9043 PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
9052 if (ss->opt.enableRenegotiation == SSL_RENEGOTIATE_NEVER) {
9092 if (ss->opt.bypassPKCS11) {