Fix error when loading encrypted DCPs (#2257).