diff options
| author | 2022-10-11 06:19:57 +0000 | |
|---|---|---|
| committer | 2022-10-11 14:45:06 +0800 | |
| commit | 278c24442bc4a6ce387fbb29daf39f94f9b5a6df (patch) | |
| tree | d9d1e05aa2245108589121676bdf806f04a53c7d | |
| parent | 0629658d40bdf6f27be2c004c6b495cfc12c280c (diff) | |
prevent multiple include attestation header file
Test: inputflinger_test
Test: attestation_tests
Bug: 252940061
Change-Id: I1d7c780a5a6eff414b6889dc7dafd04b87836f4f
| -rw-r--r-- | include/attestation/HmacKeyManager.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/attestation/HmacKeyManager.h b/include/attestation/HmacKeyManager.h index 571a361889..d725be1abe 100644 --- a/include/attestation/HmacKeyManager.h +++ b/include/attestation/HmacKeyManager.h @@ -14,6 +14,9 @@ * limitations under the License. */ +#ifndef ATTESTATION_HMACKEYMANAGER_H +#define ATTESTATION_HMACKEYMANAGER_H + #include <array> namespace android { @@ -29,4 +32,6 @@ public: private: const std::array<uint8_t, 128> mHmacKey; }; -} // namespace android
\ No newline at end of file +} // namespace android + +#endif // ATTESTATION_HMACKEYMANAGER_H
\ No newline at end of file |