]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix conflicting types errors for aes.c.
authorNick Mathewson <nickm@torproject.org>
Thu, 22 Sep 2016 12:52:42 +0000 (08:52 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 22 Sep 2016 12:52:42 +0000 (08:52 -0400)
src/common/aes.c

index cb8fb681e4d05294f36b3641abbb4855ee93de71..ef94d8a75c999c6bf03b7f407156750cbe473968 100644 (file)
@@ -259,9 +259,9 @@ evaluate_ctr_for_aes(void)
 #define COUNTER(c, n) ((c)->counter ## n)
 #endif
 
-static void aes_set_key(aes_cnt_cipher_t *cipher, const char *key,
+static void aes_set_key(aes_cnt_cipher_t *cipher, const uint8_t *key,
                         int key_bits);
-static void aes_set_iv(aes_cnt_cipher_t *cipher, const char *iv);
+static void aes_set_iv(aes_cnt_cipher_t *cipher, const uint8_t *iv);
 
 /**
  * Return a newly allocated counter-mode AES128 cipher implementation,