fixed compiler warning

This commit is contained in:
Martin Willi
2008-03-28 10:21:04 +00:00
parent d55fa9aff7
commit 15e21c5cba
+1 -1
View File
@@ -64,7 +64,7 @@ bool fips_compute_hmac_signature(const char *key, char *signature)
}
else
{
chunk_t hmac_key = { key, strlen(key) };
chunk_t hmac_key = { (u_char *)key, strlen(key) };
chunk_t text_chunk = { text_start, text_len };
chunk_t rodata_chunk = { (u_char *)FIPS_rodata_start, rodata_len };
chunk_t signature_chunk = chunk_empty;