Fix warnings.
diff --git a/crypto/ec/ectest.c b/crypto/ec/ectest.c index bed3b09..834d54a 100644 --- a/crypto/ec/ectest.c +++ b/crypto/ec/ectest.c
@@ -234,7 +234,7 @@ BN_CTX_free(ctx); } -void prime_field_tests() +static void prime_field_tests() { BN_CTX *ctx = NULL; BIGNUM *p, *a, *b; @@ -777,7 +777,7 @@ if (!EC_GROUP_copy(_variable, group)) ABORT; \ -void char2_field_tests() +static void char2_field_tests() { BN_CTX *ctx = NULL; BIGNUM *p, *a, *b; @@ -1211,7 +1211,7 @@ } -void internal_curve_test(void) +static void internal_curve_test(void) { EC_builtin_curve *curves = NULL; size_t crv_len = 0, n = 0;
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index bc6ece4..5661199 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c
@@ -3226,7 +3226,7 @@ int ssl3_get_next_proto(SSL *s) { int ok; - unsigned proto_len, padding_len; + int proto_len, padding_len; long n; const unsigned char *p;