提交 5df2a249 编写于 作者: B Ben Laurie

Fix warnings.

上级 4ed7b78b
...@@ -234,7 +234,7 @@ static void group_order_tests(EC_GROUP *group) ...@@ -234,7 +234,7 @@ static void group_order_tests(EC_GROUP *group)
BN_CTX_free(ctx); BN_CTX_free(ctx);
} }
void prime_field_tests() static void prime_field_tests()
{ {
BN_CTX *ctx = NULL; BN_CTX *ctx = NULL;
BIGNUM *p, *a, *b; BIGNUM *p, *a, *b;
...@@ -777,7 +777,7 @@ void prime_field_tests() ...@@ -777,7 +777,7 @@ void prime_field_tests()
if (!EC_GROUP_copy(_variable, group)) ABORT; \ if (!EC_GROUP_copy(_variable, group)) ABORT; \
void char2_field_tests() static void char2_field_tests()
{ {
BN_CTX *ctx = NULL; BN_CTX *ctx = NULL;
BIGNUM *p, *a, *b; BIGNUM *p, *a, *b;
...@@ -1211,7 +1211,7 @@ void char2_field_tests() ...@@ -1211,7 +1211,7 @@ void char2_field_tests()
} }
void internal_curve_test(void) static void internal_curve_test(void)
{ {
EC_builtin_curve *curves = NULL; EC_builtin_curve *curves = NULL;
size_t crv_len = 0, n = 0; size_t crv_len = 0, n = 0;
......
...@@ -3226,7 +3226,7 @@ int ssl3_send_cert_status(SSL *s) ...@@ -3226,7 +3226,7 @@ int ssl3_send_cert_status(SSL *s)
int ssl3_get_next_proto(SSL *s) int ssl3_get_next_proto(SSL *s)
{ {
int ok; int ok;
unsigned proto_len, padding_len; int proto_len, padding_len;
long n; long n;
const unsigned char *p; const unsigned char *p;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册