diff options
author | 2014-06-07 17:05:47 +0000 | |
---|---|---|
committer | 2014-06-07 17:05:47 +0000 | |
commit | 694f2c05ea11bea970f59ef8e32645af7a022f03 (patch) | |
tree | d6740282d033fa823b06a0deac402ba06cb63e31 /lib/libssl/src | |
parent | Rename variables to make it clear that these are only used in the export (diff) | |
download | wireguard-openbsd-694f2c05ea11bea970f59ef8e32645af7a022f03.tar.xz wireguard-openbsd-694f2c05ea11bea970f59ef8e32645af7a022f03.zip |
Remove pointless casts - no binary change.
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/ssl/t1_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/ssl/t1_enc.c b/lib/libssl/src/ssl/t1_enc.c index c20682a1294..ba4d244dc2e 100644 --- a/lib/libssl/src/ssl/t1_enc.c +++ b/lib/libssl/src/ssl/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; } |