95e56fa3ae
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