]> git.ipfire.org Git - thirdparty/krb5.git/commit
Make clpreauth flags function optional
authorGreg Hudson <ghudson@mit.edu>
Sat, 27 Oct 2012 15:55:36 +0000 (11:55 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 19 Dec 2012 19:24:22 +0000 (14:24 -0500)
commit5fa526b9db4940a221606f36e25e36ca525a47ab
tree8d3f5151e82f45f3a285e8d82257d22bf67887f4
parent5c23bce0e8d3328bb36bc85ee10cfac486b8ae9b
Make clpreauth flags function optional

With one exception (KRB5_PADATA_PKINIT_KX), every padata type
processed by a clpreauth module is now a real preauthentication type.
Reduce the amount of boilerplate required for a clpreauth module by
making the flags method optional if all of the preauth types
advertised by the module are real.
src/include/krb5/clpreauth_plugin.h
src/lib/krb5/krb/preauth2.c
src/lib/krb5/krb/preauth_ec.c
src/lib/krb5/krb/preauth_encts.c
src/lib/krb5/krb/preauth_otp.c
src/lib/krb5/krb/preauth_sam2.c