From 144609cba89a1bebdf5789e2857b9a3d72f3ec9c Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 13 Jan 1994 20:07:19 +0000 Subject: [PATCH] Fixed bug in the load routine, so that the alternative salt is loaded only if it exists. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3306 dc483132-0cff-0310-8789-dd5450dbe970 --- src/admin/edit/dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/edit/dump.c b/src/admin/edit/dump.c index e487407c5..3a3e6b714 100644 --- a/src/admin/edit/dump.c +++ b/src/admin/edit/dump.c @@ -315,7 +315,7 @@ void load_db(argc, argv) } } entry.alt_salt_length = alt_salt_len; - if (salt_len) { + if (alt_salt_len) { if (!(entry.alt_salt = (krb5_octet *) malloc(alt_salt_len+1))) { com_err(argv[0], errno, -- 2.26.2