View | Details | Raw Unified | Return to bug 371
Collapse All | Expand All

(-)cipher.c (-2 / +2 lines)
Lines 718-724 Link Here
718
	Cipher *c = cc->cipher;
718
	Cipher *c = cc->cipher;
719
	int plen = 0;
719
	int plen = 0;
720
720
721
	if (c->evptype == EVP_rc4) {
721
	if (c->evptype == (void *)EVP_rc4) {
722
		plen = EVP_X_STATE_LEN(cc->evp);
722
		plen = EVP_X_STATE_LEN(cc->evp);
723
		if (dat == NULL)
723
		if (dat == NULL)
724
			return (plen);
724
			return (plen);
Lines 733-739 Link Here
733
	Cipher *c = cc->cipher;
733
	Cipher *c = cc->cipher;
734
	int plen;
734
	int plen;
735
735
736
	if (c->evptype == EVP_rc4) {
736
	if (c->evptype == (void *)EVP_rc4) {
737
		plen = EVP_X_STATE_LEN(cc->evp);
737
		plen = EVP_X_STATE_LEN(cc->evp);
738
		memcpy(EVP_X_STATE(cc->evp), dat, plen);
738
		memcpy(EVP_X_STATE(cc->evp), dat, plen);
739
	}
739
	}

Return to bug 371