LHASH *CONF_load(LHASH *h, const char *file, long *line)
	{
	LHASH *ltmp;
	FILE *in=NULL;

#ifdef VMS
	in=fopen(file,"r");
#else
	in=fopen(file,"rb");
#endif
	if (in == NULL)
		{
		SYSerr(SYS_F_FOPEN,get_last_sys_error());
		ERR_set_error_data(BUF_strdup(file),
			ERR_TXT_MALLOCED|ERR_TXT_STRING);
		CONFerr(CONF_F_CONF_LOAD,ERR_R_SYS_LIB);
		return NULL;
		}

	ltmp = CONF_load_fp(h, in, line);
	fclose(in);

	return ltmp;
}