diff options
Diffstat (limited to 'lib/libssl/t1_enc.c')
-rw-r--r-- | lib/libssl/t1_enc.c | 4 |
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; } |