Skip some cast tests if not supported
Merged from https://widevine-internal-review.googlesource.com/190072 Change-Id: I4134b3f090e3f47c80601ae30262d0587808e88a
This commit is contained in:
committed by
Robert Shih
parent
7fc518220f
commit
8ac74f2d68
@@ -73,6 +73,9 @@ class OEMCryptoLoadsCertificateAlternates : public OEMCryptoLoadsCertificate {
|
|||||||
|
|
||||||
// If force is true, we assert that the key loads successfully.
|
// If force is true, we assert that the key loads successfully.
|
||||||
void LoadCastCertificateKey(bool force) {
|
void LoadCastCertificateKey(bool force) {
|
||||||
|
if (!wvoec::global_features.cast_receiver) {
|
||||||
|
GTEST_SKIP() << "Cast not supported";
|
||||||
|
}
|
||||||
// Padding scheme used to sign cast data.
|
// Padding scheme used to sign cast data.
|
||||||
constexpr uint32_t schemes = kSign_PKCS1_Block1;
|
constexpr uint32_t schemes = kSign_PKCS1_Block1;
|
||||||
// prov 2 or prov 3
|
// prov 2 or prov 3
|
||||||
|
|||||||
Reference in New Issue
Block a user