summaryrefslogtreecommitdiff
path: root/lib
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
commitc09d3315626deef58864ad0ab14bcb89e5bb3b2e (patch)
tree6964df1d767d4671cf7d002bd8e75fdae0916c7f /lib
parent7a18842a41b4e8ffedf3ab2051756368ac00a664 (diff)
Be explicit with types. No binary change.
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/src/ssl/t1_enc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/src/ssl/t1_enc.c b/lib/libssl/src/ssl/t1_enc.c
index 5f5c8e3488b..353a408c98e 100644
--- a/lib/libssl/src/ssl/t1_enc.c
+++ b/lib/libssl/src/ssl/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];