summaryrefslogtreecommitdiffstats
path: root/crypto/kerberosIV/lib/kdb
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/kerberosIV/lib/kdb')
-rw-r--r--crypto/kerberosIV/lib/kdb/copykey.c9
-rw-r--r--crypto/kerberosIV/lib/kdb/kdb_locl.h9
-rw-r--r--crypto/kerberosIV/lib/kdb/krb_dbm.c6
3 files changed, 7 insertions, 17 deletions
diff --git a/crypto/kerberosIV/lib/kdb/copykey.c b/crypto/kerberosIV/lib/kdb/copykey.c
index a78baf7..72b2b69 100644
--- a/crypto/kerberosIV/lib/kdb/copykey.c
+++ b/crypto/kerberosIV/lib/kdb/copykey.c
@@ -14,12 +14,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the Kungliga Tekniska
- * Högskolan and its contributors.
- *
- * 4. Neither the name of the Institute nor the names of its contributors
+ * 3. Neither the name of the Institute nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -38,7 +33,7 @@
#include "kdb_locl.h"
-RCSID("$Id: copykey.c,v 1.10 1997/04/01 08:18:17 joda Exp $");
+RCSID("$Id: copykey.c,v 1.11 1999/12/02 16:58:40 joda Exp $");
void
copy_from_key(des_cblock in, u_int32_t *lo, u_int32_t *hi)
diff --git a/crypto/kerberosIV/lib/kdb/kdb_locl.h b/crypto/kerberosIV/lib/kdb/kdb_locl.h
index fe4d079..2478f64 100644
--- a/crypto/kerberosIV/lib/kdb/kdb_locl.h
+++ b/crypto/kerberosIV/lib/kdb/kdb_locl.h
@@ -14,12 +14,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the Kungliga Tekniska
- * Högskolan and its contributors.
- *
- * 4. Neither the name of the Institute nor the names of its contributors
+ * 3. Neither the name of the Institute nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -36,7 +31,7 @@
* SUCH DAMAGE.
*/
-/* $Id: kdb_locl.h,v 1.9 1997/05/02 14:29:08 assar Exp $ */
+/* $Id: kdb_locl.h,v 1.10 1999/12/02 16:58:40 joda Exp $ */
#ifndef __kdb_locl_h
#define __kdb_locl_h
diff --git a/crypto/kerberosIV/lib/kdb/krb_dbm.c b/crypto/kerberosIV/lib/kdb/krb_dbm.c
index ca6a2c8..7265e20 100644
--- a/crypto/kerberosIV/lib/kdb/krb_dbm.c
+++ b/crypto/kerberosIV/lib/kdb/krb_dbm.c
@@ -21,7 +21,7 @@ or implied warranty.
#include "kdb_locl.h"
-RCSID("$Id: krb_dbm.c,v 1.36 1998/11/07 14:25:55 assar Exp $");
+RCSID("$Id: krb_dbm.c,v 1.37 1999/09/16 20:41:49 assar Exp $");
#include <xdbm.h>
@@ -117,8 +117,8 @@ gen_dbsuffix(char *db_name, char *sfx)
static void
decode_princ_key(datum *key, char *name, char *instance)
{
- strcpy_truncate (name, key->dptr, ANAME_SZ);
- strcpy_truncate (instance, (char *)key->dptr + ANAME_SZ, INST_SZ);
+ strlcpy (name, key->dptr, ANAME_SZ);
+ strlcpy (instance, (char *)key->dptr + ANAME_SZ, INST_SZ);
}
static void
OpenPOWER on IntegriCloud