Return edata from non-"PA_REQUIRED" preauth types
authorKevin Coffman <kwc@citi.umich.edu>
Fri, 1 Dec 2006 19:18:26 +0000 (19:18 +0000)
committerKevin Coffman <kwc@citi.umich.edu>
Fri, 1 Dec 2006 19:18:26 +0000 (19:18 +0000)
commit49d68d9e8a2fed75040872ae1d8e250c39b58acd
treec7586c502883888c85a9b0fe87d556932b8173c4
parent1f52b42a6f09cc8589e25f7728cda8a0b8bcf460
Return edata from non-"PA_REQUIRED" preauth types

    * src/kdc/kdc_preauth.c (check_padata)
    Return e-data from any failing preauth module.
    Save the e-data and return value from the first failing module.
    If a subsequent module marked as PA_REQUIRED fails, return
    its e-data and error instead.

    * src/kdc/kdc_preauth.c (load_preauth_plugins)
    Quiet compiler warning by setting pointer to NULL.

ticket: new
Target_Version: 1.6
tags: pullup
Component: krb5-kdc

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18895 dc483132-0cff-0310-8789-dd5450dbe970
src/kdc/kdc_preauth.c