summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/include/krb5/kdb.h2
-rw-r--r--src/kadmin/server/misc.c4
-rw-r--r--src/kadmin/server/ovsec_kadmd.c7
-rw-r--r--src/lib/kadm5/adb.h4
-rw-r--r--src/lib/kadm5/admin.h4
-rw-r--r--src/lib/kadm5/srv/adb_policy.c10
-rw-r--r--src/lib/kadm5/srv/svr_policy.c6
-rw-r--r--src/lib/kdb/kdb_xdr.c2
8 files changed, 16 insertions, 23 deletions
diff --git a/src/include/krb5/kdb.h b/src/include/krb5/kdb.h
index fc20b87662..58b0275ceb 100644
--- a/src/include/krb5/kdb.h
+++ b/src/include/krb5/kdb.h
@@ -369,7 +369,7 @@ typedef struct _krb5_db_entry {
krb5_int32 expansion[8];
} krb5_db_entry_OLD;
-#endif /* OLD_AND_KRUFTY */
+#endif /* KRB5_OLD_AND_KRUFTY */
/* This is now a structure that is private to the database backend. */
#ifdef notdef
diff --git a/src/kadmin/server/misc.c b/src/kadmin/server/misc.c
index ea0e4ce801..61bed42d3a 100644
--- a/src/kadmin/server/misc.c
+++ b/src/kadmin/server/misc.c
@@ -23,8 +23,8 @@ static char *rcsid = "$Header$";
* Arguments:
* principal (input) krb5_principals whose password we are
* changing
- * passoword (input) passowrd we are going to change to.
- * <return value> 0 on sucsess error code on failure.
+ * passoword (input) password we are going to change to.
+ * <return value> 0 on success error code on failure.
*
* Requires:
* kadm5_init to have been run.
diff --git a/src/kadmin/server/ovsec_kadmd.c b/src/kadmin/server/ovsec_kadmd.c
index dade23a4c6..f145de7c60 100644
--- a/src/kadmin/server/ovsec_kadmd.c
+++ b/src/kadmin/server/ovsec_kadmd.c
@@ -1104,10 +1104,3 @@ cleanup:
return;
}
-
-
-
-
-
-
-
diff --git a/src/lib/kadm5/adb.h b/src/lib/kadm5/adb.h
index 031f075de7..0277aba075 100644
--- a/src/lib/kadm5/adb.h
+++ b/src/lib/kadm5/adb.h
@@ -1,6 +1,6 @@
/*
- * Data Types for policys, and principal information that
- * exist in the respective databases.
+ * Data Types for policy and principal information that
+ * exists in the respective databases.
*
* $Header$
*
diff --git a/src/lib/kadm5/admin.h b/src/lib/kadm5/admin.h
index fe21282fd0..5df8f8ef9e 100644
--- a/src/lib/kadm5/admin.h
+++ b/src/lib/kadm5/admin.h
@@ -34,7 +34,7 @@ typedef long kadm5_ret_t;
(error_message(CHPASS_UTIL_NEW_PASSWORD_AGAIN_PROMPT))
/*
- * Succsessfull return code
+ * Successful return code
*/
#define KADM5_OK 0
@@ -476,7 +476,7 @@ enum ovsec_kadm_saltmod { OVSEC_KADM_MOD_KEEP, OVSEC_KADM_MOD_V4, OVSEC_KADM_MO
((char *) error_message(CHPASS_UTIL_NEW_PASSWORD_AGAIN_PROMPT))
/*
- * Succsessfull return code
+ * Successful return code
*/
#define OVSEC_KADM_OK 0
diff --git a/src/lib/kadm5/srv/adb_policy.c b/src/lib/kadm5/srv/adb_policy.c
index 9f5065c2df..7403d31a79 100644
--- a/src/lib/kadm5/srv/adb_policy.c
+++ b/src/lib/kadm5/srv/adb_policy.c
@@ -78,7 +78,7 @@ osa_adb_ret_t osa_adb_close_policy(osa_adb_princ_t db)
*
* Arguments:
* entry (input) pointer to the entry to be added
- * <return value> OSA_ADB_OK on sucsess, else error code.
+ * <return value> OSA_ADB_OK on success, else error code.
*
* Requires:
* entry have a valid name.
@@ -153,7 +153,7 @@ error:
* Arguments:
* db (input) database handle
* name (input) name of policy
- * <return value> OSA_ADB_OK on sucsess, or error code.
+ * <return value> OSA_ADB_OK on success, or error code.
*
* Requires:
* db being valid.
@@ -211,7 +211,7 @@ error:
* db (input) db handle
* name (input) name of policy
* entry (output) policy entry
- * <return value> 0 on sucsess, error code on failure.
+ * <return value> 0 on success, error code on failure.
*
* Requires:
* Effects:
@@ -277,7 +277,7 @@ error:
* Arguments:
* db (input) db handle
* entry (input) policy entry
- * <return value> 0 on sucsess error code on failure.
+ * <return value> 0 on success error code on failure.
*
* Requires:
* [requires]
@@ -350,7 +350,7 @@ error:
* db (input) db handle
* func (input) fucntion pointer to call
* data opaque data type
- * <return value> 0 on sucsess error code on failure
+ * <return value> 0 on success error code on failure
*
* Requires:
* Effects:
diff --git a/src/lib/kadm5/srv/svr_policy.c b/src/lib/kadm5/srv/svr_policy.c
index 74e2521157..d03cfd0b67 100644
--- a/src/lib/kadm5/srv/svr_policy.c
+++ b/src/lib/kadm5/srv/svr_policy.c
@@ -29,7 +29,7 @@ static char *rcsid = "$Header$";
* entry (input) The policy entry to be written out to the DB.
* mask (input) Specifies which fields in entry are to ge written out
* and which get default values.
- * <return value> 0 if sucsessfull otherwise an error code is returned.
+ * <return value> 0 if successful otherwise an error code is returned.
*
* Requires:
* Entry must be a valid principal entry, and mask have a valid value.
@@ -62,14 +62,14 @@ kadm5_create_policy(void *server_handle,
* entry (input) The policy entry to be written out to the DB.
* mask (input) Specifies which fields in entry are to ge written out
* and which get default values.
- * <return value> 0 if sucsessfull otherwise an error code is returned.
+ * <return value> 0 if successful otherwise an error code is returned.
*
* Requires:
* Entry must be a valid principal entry, and mask have a valid value.
*
* Effects:
* Writes the data to the database, and does a database sync if
- * sucsessfull.
+ * successful.
*
*/
diff --git a/src/lib/kdb/kdb_xdr.c b/src/lib/kdb/kdb_xdr.c
index ebe8189f03..5573431c6d 100644
--- a/src/lib/kdb/kdb_xdr.c
+++ b/src/lib/kdb/kdb_xdr.c
@@ -338,7 +338,7 @@ krb5_encode_princ_contents(context, content, entry)
/*
* Now we go through entry again, this time copying data
- * These first entries are always saved regaurdless of version
+ * These first entries are always saved regardless of version
*/
nextloc = content->data;