jayduhon / inferno-os

Automatically exported from code.google.com/p/inferno-os
2 stars 0 forks source link

SHAdlen vs SHA1dlen #218

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
limbo/runt.h and the keyring-sha1 manpage refer to the Keyring
module's SHAdlen constant; there is no SHAdlen, only SHA1dlen.

Original issue reported on code.google.com by extrudedaluminiu on 10 Jan 2010 at 3:27

GoogleCodeExporter commented 9 years ago
% cd $i/libinterp
% grep SHA runt.h
#define Keyring_SHA1dlen 20

so that one seems ok in the distributed source.
is yours really different? i'll change the manual page.

Original comment by Charles....@gmail.com on 10 Jan 2010 at 11:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
% cat $i/limbo/runt.h | grep SHAdlen
#define Keyring_SHAdlen 20

Original comment by extrudedaluminiu on 11 Jan 2010 at 4:18

GoogleCodeExporter commented 9 years ago
i misread the location of the runt.h you mentioned because only the libinterp
one should be relevant. the limbo/runt.h is a dreg, presumably from a test run
years ago. many data structures it defines aren't that way in the system (eg, 
Dir,
Qid), so it's hard to see how it could be used.
i've removed it.

Original comment by Charles....@gmail.com on 12 Jan 2010 at 2:46