• M
    Make libssl async aware · 07bbc92c
    Matt Caswell 提交于
    The following entry points have been made async aware:
    SSL_accept
    SSL_read
    SSL_write
    
    Also added is a new mode - SSL_MODE_ASYNC. Calling the above functions with
    the async mode enabled will initiate a new async job. If an async pause is
    encountered whilst executing the job (such as for example if using SHA1/RSA
    with the Dummy Async engine), then the above functions return with
    SSL_WANT_ASYNC. Calling the functions again (with exactly the same args
    as per non-blocking IO), will resume the job where it left off.
    Reviewed-by: NRich Salz <rsalz@openssl.org>
    07bbc92c
ssl_err.c 42.8 KB