s/NULL/NUL/1 in a comment.
[radsecproxy.git] / fticks_hashmac.c
index eb0d29b..c0dd7d8 100644 (file)
@@ -1,3 +1,6 @@
+/* Copyright (c) 2011, NORDUnet A/S */
+/* See LICENSE for licensing information. */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -46,7 +49,7 @@ _hash(const uint8_t *in,
     unless \a KEY is NULL.  If \a KEY is null \a IN is hashed with an
     ordinary cryptographic hash function such as SHA-2.
 
-    \a IN and \a KEY are NULL terminated strings.
+    \a IN and \a KEY are NUL terminated strings.
 
     \a IN is supposed to be an Ethernet MAC address and is sanitised
     by lowercasing it, removing all but [0-9a-f] and truncating it at
@@ -88,3 +91,7 @@ fticks_hashmac(const uint8_t *in,
     free(in_copy);
     return 0;
 }
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */