EVP_CIPHER_CTX_set_key_length(c, EVP_CIPHER_key_length(c));
static int rc2_get_asn1_type_and_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type)	{	long num=0;	int i=0,l;	EVP_CIPHER *e;	if (type != NULL)		{		l=EVP_CIPHER_CTX_iv_length(c);		i=ASN1_TYPE_get_int_octetstring(type,&num,c->oiv,l);		if (i != l)			return(-1);		else if (i > 0)			memcpy(c->iv,c->oiv,l);		e=rc2_magic_to_meth((int)num);		if (e == NULL)			return(-1);		if (e != EVP_CIPHER_CTX_cipher(c))			{			EVP_CIPHER_CTX_cipher(c)=e;			rc2_cbc_init_key(c,NULL,NULL,1);			}		}	return(i);	}