summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-06-08 14:33:05 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-06-08 14:33:05 +0000
commit9ecafe852aa4fb2d053429203fd9687139073154 (patch)
tree90be38f3816f978b2b9557d09fb4d0639168b95c
parent7f8cbb7e90ea54e780d30121a8d82900ccbf354d (diff)
Be explicit with types. No binary change.
-rw-r--r--lib/libssl/t1_enc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/t1_enc.c b/lib/libssl/t1_enc.c
index 5f5c8e3488b..353a408c98e 100644
--- a/lib/libssl/t1_enc.c
+++ b/lib/libssl/t1_enc.c
@@ -306,9 +306,9 @@ tls1_generate_key_block(SSL *s, unsigned char *km, unsigned char *tmp, int num)
*/
static int
tls1_change_cipher_state_cipher(SSL *s, char is_read, char use_client_keys,
- const unsigned char *mac_secret, unsigned mac_secret_size,
- const unsigned char *key, unsigned key_len, const unsigned char *iv,
- unsigned iv_len)
+ const unsigned char *mac_secret, unsigned int mac_secret_size,
+ const unsigned char *key, unsigned int key_len, const unsigned char *iv,
+ unsigned int iv_len)
{
static const unsigned char empty[] = "";
unsigned char export_tmp1[EVP_MAX_KEY_LENGTH];