diff options
author | Simo Sorce <idra@samba.org> | 2012-03-31 21:37:56 -0400 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2012-04-12 12:06:42 +0200 |
commit | 88d5d5c4b458761fd77acdb72f09253413ac03e5 (patch) | |
tree | aaa10140705a3f5883aab6c0e5e1f64fae40c925 /auth/gensec/gensec.h | |
parent | f116262a733cdf24c13e7c44a54736a2755f8335 (diff) | |
download | samba-88d5d5c4b458761fd77acdb72f09253413ac03e5.tar.gz samba-88d5d5c4b458761fd77acdb72f09253413ac03e5.tar.xz samba-88d5d5c4b458761fd77acdb72f09253413ac03e5.zip |
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>
Diffstat (limited to 'auth/gensec/gensec.h')
-rw-r--r-- | auth/gensec/gensec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/auth/gensec/gensec.h b/auth/gensec/gensec.h index f88da2227d6..0b0689fbcef 100644 --- a/auth/gensec/gensec.h +++ b/auth/gensec/gensec.h @@ -350,5 +350,7 @@ NTSTATUS gensec_generate_session_info_pac(TALLOC_CTX *mem_ctx, const struct tsocket_address *remote_address, struct auth_session_info **session_info); +NTSTATUS gensec_magic_check_krb5_oid(struct gensec_security *unused, + const DATA_BLOB *blob); #endif /* __GENSEC_H__ */ |