bitcoin/bitcoin — pull request #782 by sipa (2012-01-25 02:06:28+00:00)
Title: Check consistency of private keys

Reported by onlineproof on IRC: Bitcoin does not verify whether private
keys and public keys correspond, when loading a wallet.