瀏覽代碼

Fix conflicting types errors for aes.c.

Nick Mathewson 8 年之前
父節點
當前提交
4c69ba5895
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/common/aes.c

+ 2 - 2
src/common/aes.c

@@ -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,