strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d55fa9a
)
fixed compiler warning
author
Martin Willi
<martin@strongswan.org>
Fri, 28 Mar 2008 10:21:04 +0000
(10:21 -0000)
committer
Martin Willi
<martin@strongswan.org>
Fri, 28 Mar 2008 10:21:04 +0000
(10:21 -0000)
src/libstrongswan/fips/fips.c
patch
|
blob
|
history
diff --git
a/src/libstrongswan/fips/fips.c
b/src/libstrongswan/fips/fips.c
index
bb8f779
..
aef4541
100644
(file)
--- 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;