aboutsummaryrefslogtreecommitdiff
path: root/lib/rc4.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rc4.c')
-rw-r--r--lib/rc4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rc4.c b/lib/rc4.c
index 0c00439..720112d 100644
--- a/lib/rc4.c
+++ b/lib/rc4.c
@@ -12,7 +12,7 @@
#endif
#include <rc4.h>
-void rc4_encode(unsigned char *buf, unsigned int len, unsigned char key[16])
+void rc4_encode(unsigned char *buf, unsigned int len, const unsigned char key[16])
{
unsigned char s[256], k[256], temp;
unsigned short i, j, t;