The Samba-Bugzilla – Attachment 4530 Details for
Bug 6625
ASN1_BITFIELD -> ASN1_BIT_STRING
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
an implementation.
0001-Rename-ASN1_BITFIELD-to-ASN1_BIT_STRING.patch (text/plain), 1.23 KB, created by
Kouhei Sutou
on 2009-08-09 22:21:46 UTC
(
hide
)
Description:
an implementation.
Filename:
MIME Type:
Creator:
Kouhei Sutou
Created:
2009-08-09 22:21:46 UTC
Size:
1.23 KB
patch
obsolete
>From 1e8e889c61a5ece11d69ea272b0275271c6e04e4 Mon Sep 17 00:00:00 2001 >From: Kouhei Sutou <kou@clear-code.com> >Date: Mon, 10 Aug 2009 12:18:58 +0900 >Subject: [PATCH] Rename ASN1_BITFIELD to ASN1_BIT_STRING. > >X.690 uses "BIT STRING" not "BIT FIELD". >--- > lib/util/asn1.h | 2 +- > source3/libsmb/clispnego.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/lib/util/asn1.h b/lib/util/asn1.h >index b147ccc..4c66240 100644 >--- a/lib/util/asn1.h >+++ b/lib/util/asn1.h >@@ -46,7 +46,7 @@ typedef struct asn1_data ASN1_DATA; > #define ASN1_OID 0x6 > #define ASN1_BOOLEAN 0x1 > #define ASN1_INTEGER 0x2 >-#define ASN1_BITFIELD 0x3 >+#define ASN1_BIT_STRING 0x3 > #define ASN1_ENUMERATED 0xa > #define ASN1_SET 0x31 > >diff --git a/source3/libsmb/clispnego.c b/source3/libsmb/clispnego.c >index e586d97..74dba56 100644 >--- a/source3/libsmb/clispnego.c >+++ b/source3/libsmb/clispnego.c >@@ -268,7 +268,7 @@ bool parse_negTokenTarg(DATA_BLOB blob, char *OIDs[ASN1_MAX_OIDS], DATA_BLOB *se > uint8 flags; > > asn1_start_tag(data, ASN1_CONTEXT(1)); >- asn1_start_tag(data, ASN1_BITFIELD); >+ asn1_start_tag(data, ASN1_BIT_STRING); > while (asn1_tag_remaining(data) > 0) > asn1_read_uint8(data, &flags); > asn1_end_tag(data); >-- >1.6.3.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6625
: 4530