diff options
-rw-r--r-- | p11-kit/rpc-message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/rpc-message.c b/p11-kit/rpc-message.c index 30c331e..b5ac528 100644 --- a/p11-kit/rpc-message.c +++ b/p11-kit/rpc-message.c @@ -171,7 +171,7 @@ p11_rpc_message_parse (p11_rpc_message *msg, msg->signature = msg->sigverify = NULL; /* The call id and signature */ - if (call_id < 0 || call_id >= P11_RPC_CALL_MAX) { + if (call_id >= P11_RPC_CALL_MAX) { p11_message ("invalid message: bad call id: %d", call_id); return false; } |