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/cipher.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/cipher.h')
-rw-r--r-- | include/openssl/cipher.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/openssl/cipher.h b/include/openssl/cipher.h index 53123086..ecab121b 100644 --- a/include/openssl/cipher.h +++ b/include/openssl/cipher.h @@ -540,6 +540,19 @@ struct evp_cipher_st { #if defined(__cplusplus) } /* extern C */ + +#if __cplusplus >= 201103 + +namespace bssl { + +using ScopedEVP_CIPHER_CTX = + ScopedContext<EVP_CIPHER_CTX, int, EVP_CIPHER_CTX_init, + EVP_CIPHER_CTX_cleanup>; + +} // namespace bssl + +#endif + #endif #define CIPHER_R_AES_KEY_SETUP_FAILED 100 |