+Thu Apr 11 19:32:36 1996 Richard Basch <basch@lehman.com>
+
+ * kdb5_edit.c (extract_v4_srvtab): Use the matching key_data's kvno;
+ don't assume that key_data[0]'s kvno is necessarily the matching
+ key_data's kvno.
+
Wed Apr 10 19:17:58 1996 Richard Basch <basch@lehman.com>
* kdb5_edit.c (extract_v4_srvtab): Translate the principal name to
fwrite(v4_inst, strlen(v4_inst) + 1, 1, fout); /* p.instance */
fwrite(v4_realm, strlen(v4_realm) + 1, 1, fout); /* p.realm */
- kvno = (unsigned char) dbentry.key_data[0].key_data_kvno;
+ kvno = (unsigned char) pkey->key_data_kvno;
fwrite((char *)&kvno, sizeof(kvno), 1, fout);
fwrite((char *)key.contents, 8, 1, fout);
printf("'%s' added to V4 srvtab '%s'\n", pname, ktname);