From 82a6ae3c255d6bb77f7e68d3a27aae50af1e2dd4 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Sun, 5 Jun 2022 20:27:52 +0200 Subject: [PATCH] Remove condition that is always true. --- lib/crypto_backend/base64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/crypto_backend/base64.c b/lib/crypto_backend/base64.c index c9f34766..af5e9271 100644 --- a/lib/crypto_backend/base64.c +++ b/lib/crypto_backend/base64.c @@ -270,7 +270,7 @@ err: free(buf); /* Ignore other errors in crypt_backend */ - if (r < 0 && r != -ENOMEM) + if (r != -ENOMEM) r = -EINVAL; return r;