aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-03-28 10:21:04 +0000
committerMartin Willi <martin@strongswan.org>2008-03-28 10:21:04 +0000
commit15e21c5cbaf0f712a0e43d4828ea866974a9b64a (patch)
tree38e1eab6f470c2a9b73291c5f2d86e403118314a /src
parentd55fa9aff703454da13392e25dffe479a273e6c4 (diff)
downloadstrongswan-15e21c5cbaf0f712a0e43d4828ea866974a9b64a.tar.bz2
strongswan-15e21c5cbaf0f712a0e43d4828ea866974a9b64a.tar.xz
fixed compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/fips/fips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/fips/fips.c b/src/libstrongswan/fips/fips.c
index bb8f779ba..aef4541fa 100644
--- a/src/libstrongswan/fips/fips.c
+++ b/src/libstrongswan/fips/fips.c
@@ -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;