153efc7 FAST: when parsing krb5_child response, make sure to not miss OTP message if it was last one

1 file Authored by Alexander Bokovoy 10 years ago, Committed by jhrozek 10 years ago,
    FAST: when parsing krb5_child response, make sure to not miss OTP message if it was last one
    
    The last message in the stream might be with empty payload which means we get
    only message type and message length (0) returned, i.e. 8 bytes left remaining
    in the stream after processing preceding message. This makes our calculation at
    the end of a message processing loop incorrect -- p+2*sizeof(int32_t) can be
    equal to len, after all.
    
    Fixes FAST processing for FreeIPA native OTP case:
    https://fedorahosted.org/sssd/ticket/2186