Author: metze
Date: 2006-12-20 12:50:03 +0000 (Wed, 20 Dec 2006)
New Revision: 20275

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20275

Log:
we should check for the oid the caller gave us!

metze
Modified:
   branches/SAMBA_4_0/source/auth/kerberos/gssapi_parse.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/kerberos/gssapi_parse.c
===================================================================
--- branches/SAMBA_4_0/source/auth/kerberos/gssapi_parse.c      2006-12-20 
12:49:11 UTC (rev 20274)
+++ branches/SAMBA_4_0/source/auth/kerberos/gssapi_parse.c      2006-12-20 
12:50:03 UTC (rev 20275)
@@ -103,7 +103,7 @@
 
        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;
 

Reply via email to