if (SSL_IS_EXPORT(c->algorithms))
if (SSL_C_IS_EXPORT(c))
SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *have,	     STACK_OF(SSL_CIPHER) *pref)	{	SSL_CIPHER *c,*ret=NULL;	int i,j,ok;	CERT *cert;	unsigned long alg,mask,emask;	/* Let's see which ciphers we can support */	cert=s->cert;	sk_SSL_CIPHER_set_cmp_func(pref,ssl_cipher_ptr_id_cmp);#ifdef CIPHER_DEBUG	printf("Have:\n");	for(i=0 ; i < sk_num(pref) ; ++i)	    {	    c=(SSL_CIPHER *)sk_value(pref,i);	    printf("%p:%s\n",c,c->name);	    }#endif	for (i=0; i<sk_SSL_CIPHER_num(have); i++)		{		c=sk_SSL_CIPHER_value(have,i);		ssl_set_cert_masks(cert,c);		mask=cert->mask;		emask=cert->export_mask;					alg=c->algorithms&(SSL_MKEY_MASK|SSL_AUTH_MASK);		if (SSL_IS_EXPORT(c->algorithms))			{			ok=((alg & emask) == alg)?1:0;#ifdef CIPHER_DEBUG			printf("%d:[%08lX:%08lX]%p:%s (export)\n",ok,alg,emask,			       c,c->name);#endif			}		else			{			ok=((alg & mask) == alg)?1:0;#ifdef CIPHER_DEBUG			printf("%d:[%08lX:%08lX]%p:%s\n",ok,alg,mask,c,			       c->name);#endif			}		if (!ok) continue;			j=sk_SSL_CIPHER_find(pref,c);		if (j >= 0)			{			ret=sk_SSL_CIPHER_value(pref,j);			break;			}		}	return(ret);	}