391acfc Ticket #48228 - wrong password check if passwordInHistory is decreased.

Authored and Committed by nhosoi 8 years ago
    Ticket #48228 - wrong password check if passwordInHistory is decreased.
    
    Description: Regression was added by this commit:
      commit 1a119125856006543aae0520b5800a8b52c3b049
      Ticket #48228 - wrong password check if passwordInHistory is decreased.
    Compare function pw_history_cmp used in qsort did not check the correct
    address for the timestamp string, which made qsort return the password
    history in the wrong order.
    
    https://fedorahosted.org/389/ticket/48228
    
    Reviewed by rmeggins@redhat.com (Thank you, Rich!)
    
        
file modified
+8 -13