summaryrefslogtreecommitdiffstats
path: root/src/lib/kdb
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2011-03-09 21:46:07 +0000
committerGreg Hudson <ghudson@mit.edu>2011-03-09 21:46:07 +0000
commit7da53e2942176c5ddfe007ba0a36f449e9fdb9fb (patch)
tree4881536c48fdeb215e0cbaea18263365330ad9b0 /src/lib/kdb
parentfe012b454a193c1f81ab8011ecd620750e5869f0 (diff)
downloadkrb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.tar.gz
krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.tar.xz
krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.zip
Adjust most C source files to match the new standards for copyright
and license comments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24695 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/kdb')
-rw-r--r--src/lib/kdb/decrypt_key.c7
-rw-r--r--src/lib/kdb/encrypt_key.c7
-rw-r--r--src/lib/kdb/kdb5int.h6
-rw-r--r--src/lib/kdb/kdb_convert.c3
-rw-r--r--src/lib/kdb/kdb_cpw.c5
-rw-r--r--src/lib/kdb/kdb_default.c5
-rw-r--r--src/lib/kdb/keytab.c5
7 files changed, 8 insertions, 30 deletions
diff --git a/src/lib/kdb/decrypt_key.c b/src/lib/kdb/decrypt_key.c
index dbbd9476c..541064d88 100644
--- a/src/lib/kdb/decrypt_key.c
+++ b/src/lib/kdb/decrypt_key.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/decrypt_key.c */
/*
- * lib/kdb/decrypt_key.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +22,7 @@
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_kdb_encrypt_key(), krb5_kdb_decrypt_key functions
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
diff --git a/src/lib/kdb/encrypt_key.c b/src/lib/kdb/encrypt_key.c
index 5e6e4e46f..2ca463276 100644
--- a/src/lib/kdb/encrypt_key.c
+++ b/src/lib/kdb/encrypt_key.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/encrypt_key.c */
/*
- * lib/kdb/encrypt_key.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +22,7 @@
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_kdb_encrypt_key(), krb5_kdb_decrypt_key functions
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
diff --git a/src/lib/kdb/kdb5int.h b/src/lib/kdb/kdb5int.h
index 9d63ca86c..56570ceac 100644
--- a/src/lib/kdb/kdb5int.h
+++ b/src/lib/kdb/kdb5int.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/kdb5int.h - Private header for kdb5 library */
/*
- * lib/kdb5/kdb5int.h
- *
* Copyright (C) 2008 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +22,6 @@
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Private header file for the kdb5 library for internal functions
*/
#ifndef __KDB5INT_H__
diff --git a/src/lib/kdb/kdb_convert.c b/src/lib/kdb/kdb_convert.c
index 20bcc31e8..2799b443b 100644
--- a/src/lib/kdb/kdb_convert.c
+++ b/src/lib/kdb/kdb_convert.c
@@ -145,8 +145,7 @@ find_changed_attrs(krb5_db_entry *current, krb5_db_entry *new,
}
-/*
- */
+/* Initialize *u with a copy of d. Return 0 on success, -1 on failure. */
static int
data_to_utf8str(utf8str_t *u, krb5_data d)
{
diff --git a/src/lib/kdb/kdb_cpw.c b/src/lib/kdb/kdb_cpw.c
index a2dff2ef9..88811e71b 100644
--- a/src/lib/kdb/kdb_cpw.c
+++ b/src/lib/kdb/kdb_cpw.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/kdb_cpw.c */
/*
- * lib/kdb/kdb_cpw.c
- *
* Copyright 1995, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +22,7 @@
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
diff --git a/src/lib/kdb/kdb_default.c b/src/lib/kdb/kdb_default.c
index 18de7c75a..9763d6e80 100644
--- a/src/lib/kdb/kdb_default.c
+++ b/src/lib/kdb/kdb_default.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/kdb_default.c */
/*
- * lib/kdb/kdb_helper.c
- *
* Copyright 1995, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +22,7 @@
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
diff --git a/src/lib/kdb/keytab.c b/src/lib/kdb/keytab.c
index dbbbe75cd..00b45f810 100644
--- a/src/lib/kdb/keytab.c
+++ b/src/lib/kdb/keytab.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/keytab.c */
/*
- * kadmin/v5server/keytab.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +22,8 @@
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
+
#include <string.h>
#include "k5-int.h"