summaryrefslogtreecommitdiffstats
path: root/src/kdc
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/kdc
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/kdc')
-rw-r--r--src/kdc/dispatch.c6
-rw-r--r--src/kdc/do_as_req.c3
-rw-r--r--src/kdc/do_tgs_req.c6
-rw-r--r--src/kdc/extern.c7
-rw-r--r--src/kdc/extern.h6
-rw-r--r--src/kdc/fast_util.c3
-rw-r--r--src/kdc/kdc_authdata.c5
-rw-r--r--src/kdc/kdc_preauth.c10
-rw-r--r--src/kdc/kdc_util.c6
-rw-r--r--src/kdc/kdc_util.h3
-rw-r--r--src/kdc/main.c6
-rw-r--r--src/kdc/pkinit_apple_server.c1
-rw-r--r--src/kdc/pkinit_server.h1
-rw-r--r--src/kdc/policy.c6
-rw-r--r--src/kdc/policy.h6
-rw-r--r--src/kdc/replay.c7
-rw-r--r--src/kdc/rtest.c5
17 files changed, 20 insertions, 67 deletions
diff --git a/src/kdc/dispatch.c b/src/kdc/dispatch.c
index b4a90bb30..5c219302b 100644
--- a/src/kdc/dispatch.c
+++ b/src/kdc/dispatch.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/dispatch.c - Dispatch an incoming packet */
/*
- * kdc/dispatch.c
- *
* Copyright 1990, 2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -22,9 +21,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.
- *
- *
- * Dispatch an incoming packet.
*/
#include "k5-int.h"
diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c
index 46b5fa1fb..283c97e2d 100644
--- a/src/kdc/do_as_req.c
+++ b/src/kdc/do_as_req.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/do_as_req.c */
/*
- * kdc/do_as_req.c
- *
* Portions Copyright (C) 2007 Apple Inc.
* Copyright 1990,1991,2007,2008,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c
index b424b3edd..087fc484c 100644
--- a/src/kdc/do_tgs_req.c
+++ b/src/kdc/do_tgs_req.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/do_tgs_req.c - KDC Routines to deal with TGS_REQ's */
/*
- * kdc/do_tgs_req.c
- *
* Copyright 1990,1991,2001,2007,2008,2009 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.
- *
- *
- * KDC Routines to deal with TGS_REQ's
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/kdc/extern.c b/src/kdc/extern.c
index 99f4114f2..7307bfcf5 100644
--- a/src/kdc/extern.c
+++ b/src/kdc/extern.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/extern.c */
/*
- * kdc/extern.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -22,7 +21,9 @@
* 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.
- *
+ */
+
+/*
*
* allocations of extern stuff
*/
diff --git a/src/kdc/extern.h b/src/kdc/extern.h
index 236e5ccd9..f7a2053fc 100644
--- a/src/kdc/extern.h
+++ b/src/kdc/extern.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/extern.h */
/*
- * kdc/extern.h
- *
* Copyright 1990,2001,2007,2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -22,9 +21,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.
- *
- *
- * <<< Description >>>
*/
#ifndef __KRB5_KDC_EXTERN__
diff --git a/src/kdc/fast_util.c b/src/kdc/fast_util.c
index e411e320d..860dfcb9a 100644
--- a/src/kdc/fast_util.c
+++ b/src/kdc/fast_util.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/fast_util.c */
/*
- * kdc/fast_util.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/kdc/kdc_authdata.c b/src/kdc/kdc_authdata.c
index 5861e7048..2927de12a 100644
--- a/src/kdc/kdc_authdata.c
+++ b/src/kdc/kdc_authdata.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/kdc_authdata.c - Authorization data routines for the KDC */
/*
- * kdc/kdc_authdata.c
- *
* Copyright (C) 2007 Apple Inc. All Rights Reserved.
* Copyright (C) 2008, 2009 by the Massachusetts Institute of Technology.
*
@@ -23,8 +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.
- *
- * AuthorizationData routines for the KDC.
*/
#include "k5-int.h"
diff --git a/src/kdc/kdc_preauth.c b/src/kdc/kdc_preauth.c
index 832733e86..59561191d 100644
--- a/src/kdc/kdc_preauth.c
+++ b/src/kdc/kdc_preauth.c
@@ -1,9 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/kdc_preauth.c - Preauthentication routines for the KDC */
/*
- * kdc/kdc_preauth.c
- *
- * Copyright 1995, 2003, 2007, 2009 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1995, 2003, 2007, 2009 by the Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
@@ -23,10 +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.
- *
- * Preauthentication routines for the KDC.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c
index 62fea6fdb..cfb8de768 100644
--- a/src/kdc/kdc_util.c
+++ b/src/kdc/kdc_util.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/kdc_util.c - Utility functions for the KDC implementation */
/*
- * kdc/kdc_util.c
- *
* Copyright 1990,1991,2007,2008,2009 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.
- *
- *
- * Utility functions for the KDC implementation.
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/kdc/kdc_util.h b/src/kdc/kdc_util.h
index 998f29559..9eba0fc8d 100644
--- a/src/kdc/kdc_util.h
+++ b/src/kdc/kdc_util.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/kdc_util.h */
/*
- * kdc/kdc_util.h
- *
* Portions Copyright (C) 2007 Apple Inc.
* Copyright 1990, 2007 by the Massachusetts Institute of Technology.
*
diff --git a/src/kdc/main.c b/src/kdc/main.c
index 57cd226fb..7979031e5 100644
--- a/src/kdc/main.c
+++ b/src/kdc/main.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/main.c - Main procedure body for the KDC server process */
/*
- * kdc/main.c
- *
* Copyright 1990,2001,2008,2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -22,9 +21,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.
- *
- *
- * Main procedure body for the KDC server process.
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/kdc/pkinit_apple_server.c b/src/kdc/pkinit_apple_server.c
index ade1b8b76..4252edabd 100644
--- a/src/kdc/pkinit_apple_server.c
+++ b/src/kdc/pkinit_apple_server.c
@@ -21,7 +21,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
diff --git a/src/kdc/pkinit_server.h b/src/kdc/pkinit_server.h
index b97cb9867..26e8edfc1 100644
--- a/src/kdc/pkinit_server.h
+++ b/src/kdc/pkinit_server.h
@@ -21,7 +21,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
diff --git a/src/kdc/policy.c b/src/kdc/policy.c
index 939ddb06a..2d07b7583 100644
--- a/src/kdc/policy.c
+++ b/src/kdc/policy.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/policy.c - Policy decision routines for KDC */
/*
- * kdc/policy.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -22,9 +21,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.
- *
- *
- * Policy decision routines for KDC.
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/kdc/policy.h b/src/kdc/policy.h
index 9ccf392b5..6b000dc90 100644
--- a/src/kdc/policy.h
+++ b/src/kdc/policy.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/policy.h - Declarations for policy.c */
/*
- * kdc/policy.h
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -22,9 +21,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.
- *
- *
- * Declarations for policy.c
*/
#ifndef __KRB5_KDC_POLICY__
diff --git a/src/kdc/replay.c b/src/kdc/replay.c
index d53936f24..fc2a8b53b 100644
--- a/src/kdc/replay.c
+++ b/src/kdc/replay.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/replay.c - Replay lookaside cache for the KDC, to avoid extra work */
/*
- * kdc/replay.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,10 +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.
- *
- *
- * Replay lookaside cache for the KDC, to avoid extra work.
- *
*/
#include "k5-int.h"
diff --git a/src/kdc/rtest.c b/src/kdc/rtest.c
index 4e3cd7bda..45dcb638f 100644
--- a/src/kdc/rtest.c
+++ b/src/kdc/rtest.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/rtest.c */
/*
- * kdc/rtest.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
*/
#include "k5-int.h"