diff options
author | Matt Caswell <matt@openssl.org> | 2015-02-13 23:28:49 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-11-20 23:31:42 +0000 |
commit | 07bbc92ccb96d48044220d2ed2cf818323baeb26 (patch) | |
tree | 93a4d003dd74e2c67e5580a5301a0b1a499becbb /crypto/ct | |
parent | a14e9ff713cbe7dbbba2aa667466490291cffc68 (diff) | |
download | openssl-07bbc92ccb96d48044220d2ed2cf818323baeb26.tar.gz |
Make libssl async aware
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: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/ct')
-rw-r--r-- | crypto/ct/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/ct/Makefile b/crypto/ct/Makefile index dfb0839c1e..dd04b04069 100644 --- a/crypto/ct/Makefile +++ b/crypto/ct/Makefile @@ -70,7 +70,8 @@ ct_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h ct_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h ct_err.o: ../../include/openssl/symhacks.h ../include/internal/ct_int.h ct_err.o: ct_err.c -ct_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h +ct_lib.o: ../../e_os.h ../../include/openssl/asn1.h +ct_lib.o: ../../include/openssl/async.h ../../include/openssl/bio.h ct_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h ct_lib.o: ../../include/openssl/comp.h ../../include/openssl/crypto.h ct_lib.o: ../../include/openssl/dsa.h ../../include/openssl/dtls1.h |