minor hmac prototype update to add const qualifier
authorMichael Rash <mbr@cipherdyne.org>
Mon, 18 Mar 2013 02:48:29 +0000 (22:48 -0400)
committerMichael Rash <mbr@cipherdyne.org>
Mon, 18 Mar 2013 02:48:29 +0000 (22:48 -0400)
lib/hmac.c

index 51625b6..2efa7c3 100644 (file)
@@ -73,7 +73,7 @@ typedef struct {
 
 static void
 pad_init(unsigned char *inner_pad, unsigned char *outer_pad,
-        const unsigned char *key, const int key_len)
+        const unsigned char * const key, const int key_len)
 {
     int i = 0;