When verifying the decoded header before decoding the object identifier
authorChris Wright <chrisw@sous-sol.org>
Thu, 24 Jul 2008 20:43:34 +0000 (20:43 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 24 Jul 2008 20:43:34 +0000 (20:43 +0000)
commite2d2867ff8700d7431c68c089ff5f5ed7f2d5b40
treeb827cc4bff0102504dbf53564267c58bb62b642d
parentef571cadd516e7ffcdeac6bb8054e5908fcccfcf
When verifying the decoded header before decoding the object identifier
(expecting a SPNEGO pseudo-mechanism oid), the test to verify it is a
primitive encoding is compared against the asn1 class.  Primitive is not a
class.  This brings check in line with similar check for krb/ntlmssp oid.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Cc: Steven French <sfrench@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/asn1.c