From: Theodore Tso Date: Thu, 13 Jan 1994 20:07:19 +0000 (+0000) Subject: Fixed bug in the load routine, so that the alternative salt is loaded only X-Git-Tag: krb5-1.0-beta3~56 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=144609cba89a1bebdf5789e2857b9a3d72f3ec9c;p=krb5.git 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 --- 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,