summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-06-07 17:05:48 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-06-07 17:05:48 +0000
commitd3884b9cbe1add3675ef6369bc0c65c8aac16df2 (patch)
tree63912e27b8007707efbcfbf884de8511472d5cd1
parentd76a591ef3bd4306925a159b9700af5ccf168b2d (diff)
Remove pointless casts - no binary change.
-rw-r--r--lib/libssl/t1_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/t1_enc.c b/lib/libssl/t1_enc.c
index c20682a1294..ba4d244dc2e 100644
--- a/lib/libssl/t1_enc.c
+++ b/lib/libssl/t1_enc.c
@@ -465,13 +465,13 @@ tls1_change_cipher_state(SSL *s, int which)
mac_secret = client_write_mac_secret;
key = client_write_key;
iv = client_write_iv;
- exp_label = (unsigned char *)TLS_MD_CLIENT_WRITE_KEY_CONST;
+ exp_label = TLS_MD_CLIENT_WRITE_KEY_CONST;
exp_label_len = TLS_MD_CLIENT_WRITE_KEY_CONST_SIZE;
} else {
mac_secret = server_write_mac_secret;
key = server_write_key;
iv = server_write_iv;
- exp_label = (unsigned char *)TLS_MD_SERVER_WRITE_KEY_CONST;
+ exp_label = TLS_MD_SERVER_WRITE_KEY_CONST;
exp_label_len = TLS_MD_SERVER_WRITE_KEY_CONST_SIZE;
}