diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-12-10 06:10:44 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-12-11 11:48:49 -0600 |
commit | 193cdd8a293007d1a1ad252cf66b2dc5b793d2d0 (patch) | |
tree | 2bfefe36dd1c6ca0d42fc35b00bf323b8d41e5b3 /crypto/gcm.c | |
parent | 6d8b59d712e95d257ee16f80b579677e5e1bf33c (diff) | |
download | linux-stable-193cdd8a293007d1a1ad252cf66b2dc5b793d2d0.tar.gz linux-stable-193cdd8a293007d1a1ad252cf66b2dc5b793d2d0.tar.bz2 linux-stable-193cdd8a293007d1a1ad252cf66b2dc5b793d2d0.zip |
cifs: fix SID binary to string conversion
The authority fields are supposed to be represented by a single 48-bit
value. It's also supposed to represent the value as hex if it's equal to
or greater than 2^32. This is documented in MS-DTYP, section 2.4.2.1.
Also, fix up the max string length to account for this fix.
Acked-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'crypto/gcm.c')
0 files changed, 0 insertions, 0 deletions