Lines Matching refs:SECSuccess
240 if (NSS_Init(dir) != SECSuccess) { in tls_init()
246 if (NSS_NoDB_Init(NULL) != SECSuccess) { in tls_init()
254 SECSuccess || in tls_init()
255 SSL_OptionSetDefault(SSL_ENABLE_SSL3, PR_FALSE) != SECSuccess || in tls_init()
256 SSL_OptionSetDefault(SSL_ENABLE_SSL2, PR_FALSE) != SECSuccess || in tls_init()
257 SSL_OptionSetDefault(SSL_ENABLE_TLS, PR_TRUE) != SECSuccess) { in tls_init()
262 if (NSS_SetDomesticPolicy() != SECSuccess) { in tls_init()
274 if (NSS_Shutdown() != SECSuccess) in tls_deinit()
289 SECStatus res = SECSuccess; in nss_bad_cert_cb()
345 if (SSL_OptionSet(conn->fd, SSL_SECURITY, PR_TRUE) != SECSuccess || in tls_connection_init()
347 SECSuccess || in tls_connection_init()
349 SECSuccess || in tls_connection_init()
350 SSL_OptionSet(conn->fd, SSL_ENABLE_TLS, PR_TRUE) != SECSuccess || in tls_connection_init()
351 SSL_BadCertHook(conn->fd, nss_bad_cert_cb, conn) != SECSuccess || in tls_connection_init()
353 SECSuccess) { in tls_connection_init()
436 SECSuccess) { in tls_connection_prf()