ソースを参照

Fix conflicting types errors for aes.c.

Nick Mathewson 7 年 前
コミット
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,