auth-krb: Nove oid packet check to gensec_util.
authorSimo Sorce <idra@samba.org>
Sun, 1 Apr 2012 01:37:56 +0000 (21:37 -0400)
committerAndreas Schneider <asn@samba.org>
Thu, 12 Apr 2012 10:06:42 +0000 (12:06 +0200)
commit88d5d5c4b458761fd77acdb72f09253413ac03e5
treeaaa10140705a3f5883aab6c0e5e1f64fae40c925
parentf116262a733cdf24c13e7c44a54736a2755f8335
auth-krb: Nove oid packet check to gensec_util.

This is clearly a utiliy function generic to gensec.  Also the 3 callers
had identical implementations. Provide a generic implementation for all
of them and avoid duplicating the code everywhere.

Signed-off-by: Andreas Schneider <asn@samba.org>
auth/gensec/gensec.h
auth/gensec/gensec_util.c
auth/gensec/wscript_build [changed mode: 0644->0755]
auth/kerberos/gssapi_parse.c
libcli/auth/krb5_wrap.h
source3/librpc/crypto/gse.c
source4/auth/gensec/gensec_gssapi.c
source4/auth/gensec/gensec_krb5.c