summaryrefslogtreecommitdiff
path: root/lib/nettle
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2015-11-22 13:27:14 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2015-11-22 13:28:27 +0100
commita814e3c0d4c110e63f8efd665c7c5ba124e79ad3 (patch)
tree2001e890a850d7031482f23065afb2ad01d61263 /lib/nettle
parentebcd562003a6f0e0e607e1999c0dfa3311c59994 (diff)
downloadgnutls-a814e3c0d4c110e63f8efd665c7c5ba124e79ad3.tar.gz
added cast to silence gcc warning
Diffstat (limited to 'lib/nettle')
-rw-r--r--lib/nettle/cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nettle/cipher.c b/lib/nettle/cipher.c
index 5e8dbeabfa..602f5c72b7 100644
--- a/lib/nettle/cipher.c
+++ b/lib/nettle/cipher.c
@@ -432,7 +432,7 @@ static const struct nettle_cipher_st builtin_ciphers[] = {
.ctx_size = sizeof(struct arcfour_ctx),
.encrypt = _stream_encrypt,
.decrypt = _stream_encrypt,
- .gen_set_key = arcfour_set_key,
+ .gen_set_key = (gen_setkey_func)arcfour_set_key,
.set_encrypt_key = (nettle_set_key_func*)arcfour128_set_key,
.set_decrypt_key = (nettle_set_key_func*)arcfour128_set_key,
},