e588e24 KCM: Only print the number of found items after we have it

1 file Authored by fidencio 6 years ago, Committed by jhrozek 6 years ago,
    KCM: Only print the number of found items after we have it
    
    With the current code we've been always printing "Found 0 items" as
    state->sec_key_list_len is only set by sec_list_parse().
    
    In order to solve this, let's just print it *after* we have
    state->sec_key_list_len set.
    
    Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com>
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>