Convert oemcrypto tests to BoringSSL

Merge from Widevine repo of http://go/wvgerrit/41620

bug: 62739406
test: unit tests
Change-Id: I72a64623912305965ff625a45041e2932a41f69b
This commit is contained in:
Fred Gylys-Colwell
2018-01-23 13:39:42 -08:00
parent 80a70c2dfb
commit df389c1417
2 changed files with 23 additions and 22 deletions

View File

@@ -2964,7 +2964,7 @@ class OEMCryptoCastReceiverTest : public OEMCryptoLoadsCertificateAlternates {
uint8_t hash[SHA_DIGEST_LENGTH];
if (!SHA1(&message[0], message.size(), hash)) {
dump_boringssl_error();
FAIL() << "openssl error creating SHA1 hash.";
FAIL() << "boringssl error creating SHA1 hash.";
}
// The application will prepend the digest info to the hash.