aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-02-29 12:15:27 +0000
committerMatt Caswell <matt@openssl.org>2016-02-29 12:58:44 +0000
commit83856523c1d07abbacc6bef0e33ad3a89aacbf2a (patch)
tree7b59649ce8c9e54843e92163cd3084437c4c0d1d /crypto
parentff75a25749c7fceaff7503af6f09d4299a052996 (diff)
downloadopenssl-83856523c1d07abbacc6bef0e33ad3a89aacbf2a.zip
openssl-83856523c1d07abbacc6bef0e33ad3a89aacbf2a.tar.gz
openssl-83856523c1d07abbacc6bef0e33ad3a89aacbf2a.tar.bz2
Clarify ASYNC_WAIT_CTX_clear_fd() docs
Clarify that the "cleanup" routing does not get called if you invoke ASYNC_WAIT_CTX_clear_fd() directly. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/async/async_wait.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/async/async_wait.c b/crypto/async/async_wait.c
index 9d90e52..94f1a6b 100644
--- a/crypto/async/async_wait.c
+++ b/crypto/async/async_wait.c
@@ -191,7 +191,8 @@ int ASYNC_WAIT_CTX_clear_fd(ASYNC_WAIT_CTX *ctx, const void *key)
if (curr->key == key) {
/*
* Mark it as deleted. We don't call cleanup if explicitly asked
- * to clear an fd. We assume the caller is going to do that
+ * to clear an fd. We assume the caller is going to do that (if
+ * appropriate).
*/
curr->del = 1;
ctx->numdel++;