SSLerr(SSL_F_SSL_GET_SIGN_PKEY,SSL_R_INTERNAL_ERROR);
SSLerr(SSL_F_SSL_GET_SIGN_PKEY,ERR_R_INTERNAL_ERROR);
EVP_PKEY *ssl_get_sign_pkey(SSL *s,SSL_CIPHER *cipher)	{	unsigned long alg;	CERT *c;	alg=cipher->algorithms;	c=s->cert;	if ((alg & SSL_aDSS) &&		(c->pkeys[SSL_PKEY_DSA_SIGN].privatekey != NULL))		return(c->pkeys[SSL_PKEY_DSA_SIGN].privatekey);	else if (alg & SSL_aRSA)		{		if (c->pkeys[SSL_PKEY_RSA_SIGN].privatekey != NULL)			return(c->pkeys[SSL_PKEY_RSA_SIGN].privatekey);		else if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey != NULL)			return(c->pkeys[SSL_PKEY_RSA_ENC].privatekey);		else			return(NULL);		}	else /* if (alg & SSL_aNULL) */		{		SSLerr(SSL_F_SSL_GET_SIGN_PKEY,SSL_R_INTERNAL_ERROR);		return(NULL);		}	}