Avoid useless work related to keepold.
This commit is contained in:
@@ -59,13 +59,15 @@ change(void *server_handle,
|
|||||||
if(ret)
|
if(ret)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
/*
|
if (keepold || cond) {
|
||||||
* We save these for now so we can handle password history checking;
|
/*
|
||||||
* we handle keepold further below.
|
* We save these for now so we can handle password history checking;
|
||||||
*/
|
* we handle keepold further below.
|
||||||
ret = hdb_add_current_keys_to_history(context->context, &ent.entry);
|
*/
|
||||||
if (ret)
|
ret = hdb_add_current_keys_to_history(context->context, &ent.entry);
|
||||||
goto out;
|
if (ret)
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
|
||||||
if (context->db->hdb_capability_flags & HDB_CAP_F_HANDLE_PASSWORDS) {
|
if (context->db->hdb_capability_flags & HDB_CAP_F_HANDLE_PASSWORDS) {
|
||||||
ret = context->db->hdb_password(context->context, context->db,
|
ret = context->db->hdb_password(context->context, context->db,
|
||||||
|
Reference in New Issue
Block a user