summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-03-26 10:15:59 +0000
committerMatt Caswell <matt@openssl.org>2015-11-20 23:32:18 +0000
commit826760945de655d2d2d387cac3a3646ced80977e (patch)
tree8d2f6696345b56a1d4197acdc6a7398c9084108b /include
parent06754949e4317f5ba7e318a8841b78a7d622053f (diff)
Async clean ups
Removed the function ASYNC_job_is_waiting() as it was redundant. The only time user code has a handle on a job is when one is waiting, so all they need to do is check whether the job is NULL. Also did some cleanups to make sure the job really is NULL after it has been freed! Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/async.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/openssl/async.h b/include/openssl/async.h
index 434db2254b..ff5985748d 100644
--- a/include/openssl/async.h
+++ b/include/openssl/async.h
@@ -70,7 +70,6 @@ int ASYNC_start_job(ASYNC_JOB **job, int *ret, int (*func)(void *),
void *args, size_t size);
int ASYNC_pause_job(void);
int ASYNC_in_job(void);
-int ASYNC_job_is_waiting(ASYNC_JOB *job);
# ifdef __cplusplus
}