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:
authorDavid Benjamin <davidben@chromium.org>2015-04-20 18:32:12 +0300
committerAdam Langley <agl@google.com>2015-04-20 19:50:18 +0300
commitf0df86a1f62655528cd123e0d7867e3b9dc80c61 (patch)
tree7ee03ea44fd0beefc20243407ec03cc809446df2 /crypto/ec/internal.h
parentcaf6b095987f88d8ae699273eded66dd3dd7bcf9 (diff)
Fix standalone build on Mac.
CRYPTO_MUTEX was the wrong size. Fortunately, Apple was kind enough to define pthread_rwlock_t unconditionally, so we can be spared fighting with feature macros. Some of the stdlib.h removals were wrong and clang is pick about multiply-defined typedefs. Apparently that's a C11 thing? BUG=478598 Change-Id: Ibdcb8de9e5d83ca28e4c55b2979177d1ef0f9721 Reviewed-on: https://boringssl-review.googlesource.com/4404 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/ec/internal.h')
-rw-r--r--crypto/ec/internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/ec/internal.h b/crypto/ec/internal.h
index 7c2335b6..0a8bf24a 100644
--- a/crypto/ec/internal.h
+++ b/crypto/ec/internal.h
@@ -81,8 +81,6 @@ extern "C" {
/* Use default functions for poin2oct, oct2point and compressed coordinates */
#define EC_FLAGS_DEFAULT_OCT 0x1
-typedef struct ec_method_st EC_METHOD;
-
struct ec_method_st {
/* Various method flags */
int flags;