Initial Async notify code changes
[openssl.git] / ssl / ssl_lib.c
index 31adbe473e37afb7103273a1aeb5885956ac5297..270a908a3ec4e63e8758922d6d8e3d8fe3677bb3 100644 (file)
@@ -931,6 +931,14 @@ int SSL_waiting_for_async(SSL *s)
     return 0;
 }
 
+int SSL_get_async_wait_fd(SSL *s)
+{
+    if (!s->job)
+        return 0;
+
+    return ASYNC_get_wait_fd(s->job);
+}
+
 static int ssl_accept_intern(void *vargs)
 {
     struct ssl_async_args *args;