summaryrefslogtreecommitdiff
path: root/sys/crypto/sha1.c
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2024-11-18 08:42:54 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2024-11-18 08:42:54 +0000
commit1e37ee8eb1ed0f446c83058a058c109b08be4797 (patch)
tree2fcba2aa8dd1f926cf227feec7402c3914875b35 /sys/crypto/sha1.c
parent85f9fc6ccbc56c4224aba5691ddf913cffa886a7 (diff)
Cast atomic_load_int(9) to signed int when loading `securelevel'.
The return value of atomic_load_int(9) is unsigned so needs a cast, otherwise securelevel=-1 gets misrepresented. From Paul Fertser.
Diffstat (limited to 'sys/crypto/sha1.c')
0 files changed, 0 insertions, 0 deletions