He said "If I had enough money, I could buy that house."
A. He said if he had enough money, he could buy that house.
B. He said if he had had enough money, he could buy that house.
C. He said if he had enough money, he could have bought that house.
D. He said if he had had enough money, he could have bought that house.