prs_mem_free( &ps );
- if ( file->checksum != checksum ) {
+ if ( file->checksum != checksum && !file->ignore_checksums) {
DEBUG(0,("read_regf_block: invalid checksum\n" ));
return False;
}
}
ZERO_STRUCTP( rb );
rb->fd = -1;
+ rb->ignore_checksums = false;
if ( !(rb->mem_ctx = talloc_init( "regfio_open" )) ) {
regfio_close( rb );