projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4ed7b78
)
Fix warnings.
author
Ben Laurie
<ben@openssl.org>
Sun, 5 Sep 2010 16:34:49 +0000
(16:34 +0000)
committer
Ben Laurie
<ben@openssl.org>
Sun, 5 Sep 2010 16:34:49 +0000
(16:34 +0000)
crypto/ec/ectest.c
patch
|
blob
|
history
ssl/s3_srvr.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ectest.c
b/crypto/ec/ectest.c
index bed3b096b032c6def66bb7687532ceadd13004c1..834d54ab599ba413e1e42f7e7b3ab11b5bf82663 100644
(file)
--- a/
crypto/ec/ectest.c
+++ b/
crypto/ec/ectest.c
@@
-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;
BIGNUM *p, *a, *b;
{
BN_CTX *ctx = NULL;
BIGNUM *p, *a, *b;
@@
-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;
BIGNUM *p, *a, *b;
{
BN_CTX *ctx = NULL;
BIGNUM *p, *a, *b;
@@
-1211,7
+1211,7
@@
void char2_field_tests()
}
}
-void internal_curve_test(void)
+
static
void internal_curve_test(void)
{
EC_builtin_curve *curves = NULL;
size_t crv_len = 0, n = 0;
{
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 bc6ece47c1dc868248745d9c671aaa2054ef0026..56611996b3e8065c26ce9fb3f60db32b500212da 100644
(file)
--- a/
ssl/s3_srvr.c
+++ b/
ssl/s3_srvr.c
@@
-3226,7
+3226,7
@@
int ssl3_send_cert_status(SSL *s)
int ssl3_get_next_proto(SSL *s)
{
int ok;
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;
long n;
const unsigned char *p;