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-11-12 08:33:18 +0300
committerAdam Langley <agl@google.com>2015-11-12 23:09:20 +0300
commit20c373118ca66ae74e7fa4c6f224e26a5619f3bd (patch)
treee62dbe4b5a32148871c4544760fb10cf32a5f27f /crypto/dh/params.c
parent7308aaa9b47012428c282b6399ba67a0f26d0aee (diff)
Become partially -Wmissing-variable-declarations-clean.
There's a few things that will be kind of a nuisance and possibly not worth it (crypto/asn1 dumps a lot of undeclared things, etc.). But it caught some mistakes. Even without the warning, making sure to include the externs before defining a function helps catch type mismatches. Change-Id: I3dab282aaba6023e7cebc94ed7a767a5d7446b08 Reviewed-on: https://boringssl-review.googlesource.com/6484 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/dh/params.c')
-rw-r--r--crypto/dh/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/params.c b/crypto/dh/params.c
index 6b30036e..a6481530 100644
--- a/crypto/dh/params.c
+++ b/crypto/dh/params.c
@@ -260,7 +260,7 @@ static const BIGNUM dh1024_safe_prime[] = {
STATIC_BIGNUM(dh1024_safe_prime_4)
};
-BIGNUM bn_two = STATIC_BIGNUM(bn_two_data);
+static BIGNUM bn_two = STATIC_BIGNUM(bn_two_data);
static DH *get_standard_parameters(const struct standard_parameters *params,
const ENGINE *engine) {