bitcoin/bitcoin — pull request #1742 by sipa (2012-08-28 18:00:11+00:00)
Title: Check for canonical public keys and signatures

Only enabled inside tests for now.

Unit tests are included, but rather minimal for now. I've done more tests, though. The custom is-standard check for signatures and the OpenSSL-based test agree for every transaction in the blockchain up to block 195000, included for simple randomly fuzzed versions of every blockchain transaction.