summaryrefslogtreecommitdiff
path: root/source4/kdc/mit_samba.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-03-04 16:12:29 +0100
committerStefan Metzmacher <metze@samba.org>2011-03-04 21:19:05 +0100
commit0c78640e674914d3ee7e8233813ee91a44f16440 (patch)
treee9cd57cab2f7ef624af5286484958d5851163c3a /source4/kdc/mit_samba.c
parenta511d37d83be3bf47440527ad2b54fd124ba97a5 (diff)
downloadsamba-0c78640e674914d3ee7e8233813ee91a44f16440.tar.gz
samba-0c78640e674914d3ee7e8233813ee91a44f16440.tar.bz2
samba-0c78640e674914d3ee7e8233813ee91a44f16440.zip
s4:kdc: fix calculation of the rodc kvno
Bit shifting is non-trivial in C:-) This int32_t a = 0x12340000; uint32_t b = (a >> 16); results in 0x00001234, but this int32_t a = 0xEDCB0000; uint32_t b = (a >> 16); results in 0xFFFFEDCB, while we expected 0x0000EDCB. metze
Diffstat (limited to 'source4/kdc/mit_samba.c')
0 files changed, 0 insertions, 0 deletions