From f09c0c1237762e96e2e2438973aa6c956d518ef0 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 20 Dec 2006 12:50:03 +0000 Subject: r20275: we should check for the oid the caller gave us! metze (This used to be commit 4b9e196288f2deb3594db9ba2dd36d774e774574) --- source4/auth/kerberos/gssapi_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/auth/kerberos') diff --git a/source4/auth/kerberos/gssapi_parse.c b/source4/auth/kerberos/gssapi_parse.c index 7eefed7ac8..cc9565a040 100644 --- a/source4/auth/kerberos/gssapi_parse.c +++ b/source4/auth/kerberos/gssapi_parse.c @@ -103,7 +103,7 @@ BOOL gensec_gssapi_check_oid(const DATA_BLOB *blob, const char *oid) asn1_load(&data, *blob); asn1_start_tag(&data, ASN1_APPLICATION(0)); - asn1_check_OID(&data, GENSEC_OID_KERBEROS5); + asn1_check_OID(&data, oid); ret = !data.has_error; -- cgit