]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - crypto/algif_hash.c
Merge tag 'for-linus-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw...
[mirror_ubuntu-hirsute-kernel.git] / crypto / algif_hash.c
index 178f4cd75ef1d3ebb76ea8a6230acb0dcf0f9886..da1ffa4f7f8dafc04806cf5f5fe5fb5f58eba191 100644 (file)
@@ -83,7 +83,7 @@ static int hash_sendmsg(struct socket *sock, struct msghdr *msg,
                        goto unlock;
        }
 
-       ctx->more = 0;
+       ctx->more = false;
 
        while (msg_data_left(msg)) {
                int len = msg_data_left(msg);
@@ -211,7 +211,7 @@ static int hash_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,
        }
 
        if (!result || ctx->more) {
-               ctx->more = 0;
+               ctx->more = false;
                err = crypto_wait_req(crypto_ahash_final(&ctx->req),
                                      &ctx->wait);
                if (err)
@@ -436,7 +436,7 @@ static int hash_accept_parent_nokey(void *private, struct sock *sk)
 
        ctx->result = NULL;
        ctx->len = len;
-       ctx->more = 0;
+       ctx->more = false;
        crypto_init_wait(&ctx->wait);
 
        ask->private = ctx;