Rename function to mdbi_rc4 to prevent it from being exported

This commit is contained in:
Benedikt Reinartz
2021-05-19 07:45:43 +02:00
parent ee5789ebc7
commit 9401d3cd84
5 changed files with 16 additions and 11 deletions

View File

@@ -84,7 +84,7 @@ mdb_write_pg(MdbHandle *mdb, unsigned long pg)
{
buf = g_memdup2(mdb->pg_buf, mdb->fmt->pg_size);
unsigned int tmp_key = mdb->f->db_key ^ pg;
mdb_rc4((unsigned char*)&tmp_key, 4, buf, mdb->fmt->pg_size);
mdbi_rc4((unsigned char*)&tmp_key, 4, buf, mdb->fmt->pg_size);
}
len = fwrite(buf, 1, mdb->fmt->pg_size, mdb->f->stream);