Commit 2f2cb363 authored by David Benjamin's avatar David Benjamin Committed by Commit Bot

Split CrOS-specific TPM, etc., code into a separate file

It's still in //crypto, but now it's a bit more self-contained.

Bug: 125848
Change-Id: I8596aa9f66630625234206986636edcb29853c73
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1857046
Commit-Queue: David Benjamin <davidben@chromium.org>
Reviewed-by: default avatarMatt Mueller <mattm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#706202}
parent acc0ab14
......@@ -116,6 +116,10 @@ component("crypto") {
]
}
if (is_chromeos) {
sources += [ "nss_util_chromeos.cc" ]
}
defines = [ "CRYPTO_IMPLEMENTATION" ]
if (is_nacl) {
......
This diff is collapsed.
This diff is collapsed.
......@@ -123,6 +123,14 @@ CRYPTO_EXPORT void SetPrivateSoftwareSlotForChromeOSUserForTesting(
#endif // defined(OS_CHROMEOS)
// Loads the given module for this NSS session.
SECMODModule* LoadNSSModule(const char* name,
const char* library_path,
const char* params);
// Returns the current NSS error message.
std::string GetNSSErrorMessage();
} // namespace crypto
#endif // CRYPTO_NSS_UTIL_INTERNAL_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment