if (!ss->enableSSL2 && !ss->enableSSL3 && !ss->enableTLS) {
if (!ss->opt.enableSSL2 && !ss->opt.enableSSL3 && !ss->opt.enableTLS) {
ssl2_CheckConfigSanity(sslSocket *ss){    unsigned int      allowed;    int               ssl3CipherCount = 0;    SECStatus         rv;    /* count the SSL2 and SSL3 enabled ciphers.     * if either is zero, clear the socket's enable for that protocol.     */    if (!ss->cipherSpecs)    	goto disabled;    allowed = ss->allowedByPolicy & ss->chosenPreference;    if (! allowed)	ss->enableSSL2 = PR_FALSE;     /* not really enabled if no ciphers */    /* ssl3_config_match_init was called in ssl2_ConstructCipherSpecs(). */    /* Ask how many ssl3 CipherSuites were enabled. */    rv = ssl3_ConstructV2CipherSpecsHack(ss, NULL, &ssl3CipherCount);    if (rv != SECSuccess || ssl3CipherCount <= 0) {	ss->enableSSL3 = PR_FALSE;     /* not really enabled if no ciphers */	ss->enableTLS  = PR_FALSE;    }    if (!ss->enableSSL2 && !ss->enableSSL3 && !ss->enableTLS) {	SSL_DBG(("%d: SSL[%d]: Can't handshake! both v2 and v3 disabled.",		 SSL_GETPID(), ss->fd));disabled:	PORT_SetError(SSL_ERROR_SSL_DISABLED);	return SECFailure;    }    return SECSuccess;}