| Index: components/ownership/owner_key_util.h
|
| diff --git a/components/ownership/owner_key_util.h b/components/ownership/owner_key_util.h
|
| index 7e2f15ee0c9e1427c7e62f794f165067a34e71cb..39201807704f807c53066713bdab70263be7ec86 100644
|
| --- a/components/ownership/owner_key_util.h
|
| +++ b/components/ownership/owner_key_util.h
|
| @@ -15,10 +15,10 @@
|
| #include "base/stl_util.h"
|
| #include "components/ownership/ownership_export.h"
|
|
|
| -#if defined(USE_NSS)
|
| +#if defined(USE_NSS_CERTS)
|
| struct PK11SlotInfoStr;
|
| typedef struct PK11SlotInfoStr PK11SlotInfo;
|
| -#endif // defined(USE_NSS)
|
| +#endif // defined(USE_NSS_CERTS)
|
|
|
| namespace crypto {
|
| class RSAPrivateKey;
|
| @@ -81,14 +81,14 @@ class OWNERSHIP_EXPORT OwnerKeyUtil
|
| // returns true and populates |output|. False on failure.
|
| virtual bool ImportPublicKey(std::vector<uint8>* output) = 0;
|
|
|
| -#if defined(USE_NSS)
|
| +#if defined(USE_NSS_CERTS)
|
| // Looks for the private key associated with |key| in the |slot|
|
| // and returns it if it can be found. Returns NULL otherwise.
|
| // Caller takes ownership.
|
| virtual crypto::RSAPrivateKey* FindPrivateKeyInSlot(
|
| const std::vector<uint8>& key,
|
| PK11SlotInfo* slot) = 0;
|
| -#endif // defined(USE_NSS)
|
| +#endif // defined(USE_NSS_CERTS)
|
|
|
| // Checks whether the public key is present in the file system.
|
| virtual bool IsPublicKeyPresent() = 0;
|
|
|