diff options
author | Linus Nordberg <linus@nordu.net> | 2011-09-27 18:03:12 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-09-27 18:03:12 +0200 |
commit | 7f4c1aa892a4f42748aa7c6bbd99f200ef7f8674 (patch) | |
tree | 8c9d8ab2b00e0ce7035f99618e9bfae0e9432926 /fticks.h | |
parent | 8eeb47547e346475e7cf27a20c949a49d3e54116 (diff) |
Sanitise MAC address before hashing it.
Almost closes RADSECPROXY-16.
Diffstat (limited to 'fticks.h')
-rw-r--r-- | fticks.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -6,10 +6,10 @@ int fticks_configure(struct options *options, uint8_t **reportingp, uint8_t **macp, uint8_t **keyp); -void fticks_hashmac(const uint8_t *in, - const uint8_t *key, - size_t out_len, - uint8_t *out); +int fticks_hashmac(const uint8_t *in, + const uint8_t *key, + size_t out_len, + uint8_t *out); void fticks_log(const struct options *options, const struct client *client, const struct radmsg *msg, |