ENGINEerr(func,RSA_R_PADDING_CHECK_FAILED);
ENGINEerr(func,SUREWARE_R_PADDING_CHECK_FAILED);
static void surewarehk_error_handling(char *const msg,int func,int ret){	switch (ret)	{		case SUREWAREHOOK_ERROR_UNIT_FAILURE:			ENGINEerr(func,SUREWARE_R_UNIT_FAILURE);			break;		case SUREWAREHOOK_ERROR_FALLBACK:			ENGINEerr(func,SUREWARE_R_REQUEST_FALLBACK);			break;		case SUREWAREHOOK_ERROR_DATA_SIZE:			ENGINEerr(func,SUREWARE_R_SIZE_TOO_LARGE_OR_TOO_SMALL);			break;		case SUREWAREHOOK_ERROR_INVALID_PAD:			ENGINEerr(func,RSA_R_PADDING_CHECK_FAILED);			break;		default:			ENGINEerr(func,SUREWARE_R_REQUEST_FAILED);			break;		case 1:/*nothing*/			msg[0]='\0';	}	if (*msg)	{		ERR_add_error_data(1,msg);		if (logstream)		{			CRYPTO_w_lock(CRYPTO_LOCK_BIO);			BIO_write(logstream, msg, strlen(msg));			CRYPTO_w_unlock(CRYPTO_LOCK_BIO);		}	}}