commit | 1c703cb0c1e73d49af6bc837a7442f06a3dbcf08 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Thu Jun 11 21:42:14 2015 -0400 |
committer | Adam Langley <agl@google.com> | Mon Jun 15 17:52:40 2015 +0000 |
tree | 074de75247d9f774e282d439e5a438f644ead8b4 | |
parent | 3a9e1fba0e3bcf014caa2df143a70475068447dc [diff] |
Check for BN_copy failures. BN_copy can fail on malloc failure. The case in crypto/rsa was causing the malloc tests in all_tests.go to infinite loop. Change-Id: Id5900512013fba9960444d78a8c056aa4314fb2d Reviewed-on: https://boringssl-review.googlesource.com/5110 Reviewed-by: Adam Langley <agl@google.com>