aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/async/async.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/async/async.c b/crypto/async/async.c
index e0ff110e33..8fdff52d99 100644
--- a/crypto/async/async.c
+++ b/crypto/async/async.c
@@ -280,10 +280,10 @@ int ASYNC_pause_job(void)
if(!async_get_ctx() || !async_get_ctx()->currjob) {
/*
- * Could be we've deliberately not been started within a job so we
- * don't put an error on the error queue here.
+ * Could be we've deliberately not been started within a job so this is
+ * counted as success.
*/
- return 0;
+ return 1;
}
job = async_get_ctx()->currjob;