mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r20275: we should check for the oid the caller gave us!
metze
This commit is contained in:
parent
7256481f08
commit
4b9e196288
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user