From: Theodore Tso Date: Thu, 6 Oct 1994 16:45:22 +0000 (+0000) Subject: Check to make sure key version number is 1, not 0 X-Git-Tag: krb5-1.0-beta5~1166 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a6d6ef0be505d3edce846e65d96edbdb5f32e2c7;p=krb5.git Check to make sure key version number is 1, not 0 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4461 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/verify/ChangeLog b/src/tests/verify/ChangeLog index 8287ace50..05c9aaa48 100644 --- a/src/tests/verify/ChangeLog +++ b/src/tests/verify/ChangeLog @@ -1,3 +1,8 @@ +Thu Oct 6 12:42:47 1994 Theodore Y. Ts'o (tytso@dcl) + + * kdb5_verify.c (check_princ): Check to make sure key version + number is 1, not 0. + Thu Sep 29 23:00:05 1994 Theodore Y. Ts'o (tytso@dcl) * Makefile.in: Relink executable when libraries change diff --git a/src/tests/verify/kdb5_verify.c b/src/tests/verify/kdb5_verify.c index 4772c5d09..c2f081326 100644 --- a/src/tests/verify/kdb5_verify.c +++ b/src/tests/verify/kdb5_verify.c @@ -313,7 +313,7 @@ errout: free((char *)pwd_key.contents); free((char *)db_key.contents); - if (kdbe.kvno != 0) { + if (kdbe.kvno != 1) { fprintf(stderr, "\tkvno did not match stored value for %s.\n", str_princ); goto errout; }