summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-20 12:50:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:29 -0500
commitf09c0c1237762e96e2e2438973aa6c956d518ef0 (patch)
tree6e0173a77b055349935ba354d6ae2c7fcbaa50b2
parentb2d5ec03391dc649843700300f0b939f80c5a1ad (diff)
downloadsamba-f09c0c1237762e96e2e2438973aa6c956d518ef0.tar.gz
samba-f09c0c1237762e96e2e2438973aa6c956d518ef0.tar.bz2
samba-f09c0c1237762e96e2e2438973aa6c956d518ef0.zip
r20275: we should check for the oid the caller gave us!
metze (This used to be commit 4b9e196288f2deb3594db9ba2dd36d774e774574)
-rw-r--r--source4/auth/kerberos/gssapi_parse.c2
1 files changed, 1 insertions, 1 deletions
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;