Fix a help string in radsecproxy-hash(1) (-h).
[libradsec.git] / tlv11.c
diff --git a/tlv11.c b/tlv11.c
index c609f4e..cb9a3da 100644 (file)
--- a/tlv11.c
+++ b/tlv11.c
@@ -1,10 +1,6 @@
-/*
- * Copyright (C) 2008 Stig Venaas <venaas@uninett.no>
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- */
+/* Copyright (c) 2008-2009, UNINETT AS
+ * Copyright (c) 2010, NORDUnet A/S */
+/* See LICENSE for licensing information. */
 
 #ifdef SYS_SOLARIS9
 #include <sys/inttypes.h>
@@ -109,7 +105,7 @@ uint8_t *tlv2str(struct tlv *tlv) {
     return s;
 }
 
-uint8_t *tlv2buf(uint8_t *p, struct tlv *tlv) {
+uint8_t *tlv2buf(uint8_t *p, const struct tlv *tlv) {
     *p++ = tlv->t;
     *p++ = tlv->l;
     if (tlv->l) {