diff options
author | Adam Langley <agl@google.com> | 2016-07-12 01:22:19 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2016-07-12 02:08:27 +0300 |
commit | 8c3c3135a29ed91e4ed73498a8cbb76af68c4c38 (patch) | |
tree | f492a15aed3b9051b8cf085b21c3d92e7a769728 /include/openssl/cmac.h | |
parent | 09feb0f3d95a2bc58ce0faaf14256d3bd30f52a4 (diff) |
Remove scoped_types.h.
This change scatters the contents of the two scoped_types.h files into
the headers for each of the areas of the code. The types are now in the
|bssl| namespace.
Change-Id: I802b8de68fba4786b6a0ac1bacd11d81d5842423
Reviewed-on: https://boringssl-review.googlesource.com/8731
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/cmac.h')
-rw-r--r-- | include/openssl/cmac.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/openssl/cmac.h b/include/openssl/cmac.h index 0bb44b95..c536beff 100644 --- a/include/openssl/cmac.h +++ b/include/openssl/cmac.h @@ -71,6 +71,17 @@ OPENSSL_EXPORT int CMAC_Final(CMAC_CTX *ctx, uint8_t *out, size_t *out_len); #if defined(__cplusplus) } /* extern C */ + +#if __cplusplus >= 201103 + +namespace bssl { + +using ScopedCMAC_CTX = ScopedType<CMAC_CTX, CMAC_CTX_free>; + +} // namespace bssl + +#endif + #endif #endif /* OPENSSL_HEADER_CMAC_H */ |