diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-02-17 12:30:55 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-02-17 17:36:37 +1100 |
commit | 6088f44ed7830691c75846caccf63fcd810436c4 (patch) | |
tree | 4deb39bfb8abaf2b90527cdfbdc863084a6551a1 /source3 | |
parent | 05cf2d41cc16cf0ebd3605028a1723102449ccc3 (diff) | |
download | samba-6088f44ed7830691c75846caccf63fcd810436c4.tar.gz samba-6088f44ed7830691c75846caccf63fcd810436c4.tar.bz2 samba-6088f44ed7830691c75846caccf63fcd810436c4.zip |
s3-gse: Fix OID to read for kerberos key type
Diffstat (limited to 'source3')
-rw-r--r-- | source3/librpc/crypto/gse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c index 3643262a77..dcfaa722f9 100644 --- a/source3/librpc/crypto/gse.c +++ b/source3/librpc/crypto/gse.c @@ -621,8 +621,8 @@ static NTSTATUS gse_get_session_key(TALLOC_CTX *mem_ctx, char *oid; char *p, *q = NULL; if (!ber_read_OID_String(talloc_tos(), - data_blob_const(set->elements[0].value, - set->elements[0].length), &oid)) { + data_blob_const(set->elements[1].value, + set->elements[1].length), &oid)) { TALLOC_FREE(oid); gss_maj = gss_release_buffer_set(&gss_min, &set); return NT_STATUS_INVALID_PARAMETER; |