From c0219b38d1f6fe864c1e46dc16706d0ce020bf72 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Sun, 13 Oct 2024 11:58:54 +0900 Subject: [PATCH] Return correct success value from NSS s3fs_md5 (#2543) --- src/nss_auth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nss_auth.cpp b/src/nss_auth.cpp index 4f8d8ca..eb84722 100644 --- a/src/nss_auth.cpp +++ b/src/nss_auth.cpp @@ -193,7 +193,7 @@ bool s3fs_md5_fd(int fd, off_t start, off_t size, md5_t* result) PK11_DigestFinal(md5ctx, result->data(), &md5outlen, result->size()); PK11_DestroyContext(md5ctx, PR_TRUE); - return false; + return true; } //-------------------------------------------------------------------