sprintf(filename, "tests/%s/%s%d", mode, type, num);
sprintf(filename, "%s/tests/%s/%s%d", testdir, mode, type, num);
get_ascii_file_data(SECItem *item, char *mode, char *type, int num){	char filename[32];	PRFileDesc *file;	SECStatus rv;	sprintf(filename, "tests/%s/%s%d", mode, type, num);	file = PR_Open(filename, PR_RDONLY, 00440);	if (file)		rv = SECU_FileToItem(item, file);	else		return SECFailure;	if ((PL_strcmp(mode, "rsa") == 0 || PL_strcmp(mode, "dsa") == 0) && 	    PL_strcmp(type, "key") == 0)		atob(SECITEM_DupItem(item), item);	/* remove a trailing newline, else byte count will be wrong */	if (item->data[item->len-1] == '\n')		item->len--;	PR_Close(file);	return rv;}