Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2016-07-12 01:22:19 +0300
committerAdam Langley <agl@google.com>2016-07-12 02:08:27 +0300
commit8c3c3135a29ed91e4ed73498a8cbb76af68c4c38 (patch)
treef492a15aed3b9051b8cf085b21c3d92e7a769728 /include/openssl/ec.h
parent09feb0f3d95a2bc58ce0faaf14256d3bd30f52a4 (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.h12
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