summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-11-02 13:50:48 +0100
committerDr. Stephen Henson <steve@openssl.org>2008-11-02 13:50:48 +0100
commitc76fd290be9e4a755dde3c5fe1ed886a89e30fc6 (patch)
treefcede0e06d67a9ef78dbae03b3fb4cf812403f4b /ssl
parentFix warnings. (diff)
downloadopenssl-c76fd290be9e4a755dde3c5fe1ed886a89e30fc6.tar.xz
openssl-c76fd290be9e4a755dde3c5fe1ed886a89e30fc6.zip
Fix warnings about mismatched prototypes, undefined size_t and value computed
not used.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssl_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 803894c44f..2e85a560fe 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -432,7 +432,7 @@ int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB cb)
}
int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id,
- unsigned int id_len)
+ size_t id_len)
{
/* A quick examination of SSL_SESSION_hash and SSL_SESSION_cmp shows how
* we can "construct" a session to give us the desired check - ie. to