diff options
author | Matt Caswell <matt@openssl.org> | 2015-10-05 10:49:15 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-10-30 08:39:46 +0000 |
commit | 5998e2903589e7b19e102ebff06521f2dcb60409 (patch) | |
tree | 1936f69be6ec84baebef62d5ea72f5f0cdcba63e /CHANGES | |
parent | a71a4966a31b31df72db42c130544462fd6ad624 (diff) |
Remove SSL_state and SSL_set_state
SSL_state has been replaced by SSL_get_state and SSL_set_state is no longer
supported.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -7,12 +7,14 @@ *) State machine rewrite. The state machine code has been significantly refactored in order to remove much duplication of code and solve issues with the old code (see ssl/statem/README for further details). This change - does have some associated API changes. Notably SSL_get_state/SSL_state now - returns an "OSSL_HANDSHAKE_STATE" instead of an int. The previous handshake - states defined in ssl.h and ssl3.h have been redefined to be the nearest - equivalent OSS_HANDSHAKE_STATE value. Not all states have an equivalent - value, (e.g. SSL_ST_CW_FLUSH). New application code should not use the old - handshake state values, but should instead use OSSL_HANDSHAKE_STATE. + does have some associated API changes. Notably the SSL_state() function + has been removed and replaced by SSL_get_state which now returns an + "OSSL_HANDSHAKE_STATE" instead of an int. SSL_set_state() has been removed + altogether. The previous handshake states defined in ssl.h and ssl3.h have + been redefined to be the nearest equivalent OSS_HANDSHAKE_STATE value. Not + all states have an equivalent value, (e.g. SSL_ST_CW_FLUSH). New + application code should not use the old handshake state values, but should + instead use OSSL_HANDSHAKE_STATE. [Matt Caswell] *) The demo files in crypto/threads were moved to demo/threads. |