summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/store/store_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/store/store_lib.c b/crypto/store/store_lib.c
index 2c7c9f3226..e7f5860604 100644
--- a/crypto/store/store_lib.c
+++ b/crypto/store/store_lib.c
@@ -463,7 +463,7 @@ int OSSL_STORE_eof(OSSL_STORE_CTX *ctx)
if (ctx->fetched_loader == NULL)
ret = ctx->loader->eof(ctx->loader_ctx);
#endif
- return ret;
+ return ret != 0;
}
static int ossl_store_close_it(OSSL_STORE_CTX *ctx)