Source release v3.1.0
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -15,7 +15,7 @@
|
||||
#include "test_host.h"
|
||||
|
||||
#if defined(OEMCRYPTO_TESTS)
|
||||
# include "oemcrypto_test.h"
|
||||
# include "oec_device_features.h"
|
||||
#endif
|
||||
|
||||
using namespace widevine;
|
||||
@@ -68,13 +68,11 @@ int main(int argc, char** argv) {
|
||||
#endif
|
||||
client_info.build_info = __DATE__;
|
||||
|
||||
Cdm::DeviceCertificateRequest cert_request;
|
||||
Cdm::Status status = Cdm::initialize(
|
||||
Cdm::kNoSecureOutput, client_info, g_host, g_host, g_host, &cert_request,
|
||||
Cdm::kNoSecureOutput, client_info, g_host, g_host, g_host,
|
||||
static_cast<Cdm::LogLevel>(verbosity));
|
||||
(void)status; // status is now used when assertions are turned off.
|
||||
assert(status == Cdm::kSuccess);
|
||||
assert(cert_request.needed == false);
|
||||
|
||||
#if defined(OEMCRYPTO_TESTS)
|
||||
// Set up the OEMCrypto test harness.
|
||||
|
||||
@@ -71,6 +71,7 @@ bool TestHost::exists(const std::string& name) {
|
||||
}
|
||||
|
||||
bool TestHost::remove(const std::string& name) {
|
||||
LOGD("remove: %s", name.c_str());
|
||||
files_.erase(name);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user