artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d898521
)
Correct bitmask.
author
angelos
<angelos@openbsd.org>
Sun, 23 Apr 2000 05:04:13 +0000
(
05:04
+0000)
committer
angelos
<angelos@openbsd.org>
Sun, 23 Apr 2000 05:04:13 +0000
(
05:04
+0000)
sys/crypto/cryptosoft.c
patch
|
blob
|
history
diff --git
a/sys/crypto/cryptosoft.c
b/sys/crypto/cryptosoft.c
index
f68b811
..
30ea70a
100644
(file)
--- a/
sys/crypto/cryptosoft.c
+++ b/
sys/crypto/cryptosoft.c
@@
-569,7
+569,7
@@
swcr_freesession(u_int64_t tid)
struct swcr_data *swd;
struct enc_xform *txf;
struct auth_hash *axf;
- u_int32_t sid = (tid >> 31) & 0xffff;
+ u_int32_t sid = (tid >> 31) & 0xffff
ffff
;
if ((sid > swcr_sesnum) || (swcr_sessions == NULL) ||
(swcr_sessions[sid] == NULL))