Files
heimdal/lib/hdb
Nicolas Williams 95e56fa3ae hdb: fix hdb_unseal_keys_kvno return when no history
Prior to this change hdb_unseal_keys_kvno() could return successfully (0)
if the choice_HDB_extension_data_hist_keys extension was found but the
hist_keys list was empty.  As a side effect callers would believe that the
provide hdb_entry keys were unsealed when they weren't.  This could cause
the KDC or kadmin to report invalid key size errors.

If the extension is present and the history list is empty attempt to
unseal the provided hdb_entry using hdb_unseal_keys_mkey().

Change-Id: I9218b02bccdbcf22133a9464a677374db53ade85
2015-03-14 16:08:22 -04:00
..
2012-05-21 17:12:16 +01:00
2012-10-01 09:50:46 -07:00
2014-04-25 02:42:17 +02:00
2011-05-21 11:57:31 -07:00
2014-03-27 12:11:29 -06:00
2012-10-07 16:47:45 -07:00
2005-04-25 17:33:40 +00:00
2014-02-16 11:51:56 -08:00
2010-11-28 11:46:46 -08:00
2014-01-31 08:49:55 +01:00
2014-08-22 20:57:24 -07:00
2014-02-14 19:36:36 -08:00