int ret=0,a=0; const EVP_CIPHER *enc; const EVP_MD *md; SSL_SESSION ss;
int ret=0;
int SSL_CIPHER_get_bits(SSL_CIPHER *c, int *alg_bits)	{	int ret=0,a=0;	const EVP_CIPHER *enc;	const EVP_MD *md;	SSL_SESSION ss;	if (c != NULL)		{		ss.cipher=c;		if (!ssl_cipher_get_evp(&ss,&enc,&md,NULL))			return(0);		a=EVP_CIPHER_key_length(enc)*8;		if (SSL_C_IS_EXPORT(c))			{			ret=SSL_C_EXPORT_KEYLENGTH(c)*8;			}		else			{			if (c->algorithm2 & SSL2_CF_8_BYTE_ENC)				ret=64;			else				ret=a;			}		}	if (alg_bits != NULL) *alg_bits=a;		return(ret);	}