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/ec.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/ec.h')
-rw-r--r-- | include/openssl/ec.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/openssl/ec.h b/include/openssl/ec.h index 32aded65..8e90ae33 100644 --- a/include/openssl/ec.h +++ b/include/openssl/ec.h @@ -359,6 +359,18 @@ OPENSSL_EXPORT size_t EC_get_builtin_curves(EC_builtin_curve *out_curves, #if defined(__cplusplus) } /* extern C */ + +#if __cplusplus >= 201103 + +namespace bssl { + +using ScopedEC_GROUP = ScopedType<EC_GROUP, EC_GROUP_free>; +using ScopedEC_POINT = ScopedType<EC_POINT, EC_POINT_free>; + +} // namespace bssl + +#endif + #endif #define EC_R_BUFFER_TOO_SMALL 100 |