r20275: we should check for the oid the caller gave us!
authorStefan Metzmacher <metze@samba.org>
Wed, 20 Dec 2006 12:50:03 +0000 (12:50 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:29:29 +0000 (14:29 -0500)
metze
(This used to be commit 4b9e196288f2deb3594db9ba2dd36d774e774574)

source4/auth/kerberos/gssapi_parse.c

index 7eefed7ac8c92d0870b588c6dbe0a4fa3ce45494..cc9565a040b357c69d385aa88075b788289f5074 100644 (file)
@@ -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;