aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/auth/factotum
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/auth/factotum')
-rw-r--r--src/cmd/auth/factotum/secstore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/auth/factotum/secstore.c b/src/cmd/auth/factotum/secstore.c
index 2babf4d8..c17c3cf2 100644
--- a/src/cmd/auth/factotum/secstore.c
+++ b/src/cmd/auth/factotum/secstore.c
@@ -181,7 +181,7 @@ SC_read(SConn *conn, uchar *buf, int n)
uchar count[2], digest[SHA1dlen];
int len, nr;
- if(read(ss->fd, count, 2) != 2 || count[0]&0x80 == 0){
+ if(read(ss->fd, count, 2) != 2 || (count[0]&0x80) == 0){
werrstr("!SC_read invalid count");
return -1;
}