f3f9672 ipa-rmkeytab: Check return value of krb5_kt_(start|end)_seq_get

2 files Authored by rcritten 3 years ago, Committed by frenaud 3 years ago,
    ipa-rmkeytab: Check return value of krb5_kt_(start|end)_seq_get
    
    The return value of functions managing the cursor in the keytab
    were not checked or reported in a consistent way. This should
    assure a reasonable error message in case something goes wrong.
    
    https://pagure.io/freeipa/issue/8658
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    
        
file modified
+22 -3
file modified
+2 -0