diff options
author | David Benjamin <davidben@chromium.org> | 2015-04-20 18:32:12 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-04-20 19:50:18 +0300 |
commit | f0df86a1f62655528cd123e0d7867e3b9dc80c61 (patch) | |
tree | 7ee03ea44fd0beefc20243407ec03cc809446df2 /crypto/ec/internal.h | |
parent | caf6b095987f88d8ae699273eded66dd3dd7bcf9 (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.h | 2 |
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; |