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 /ssl/ssl_stat.c | |
parent | a71a4966a31b31df72db42c130544462fd6ad624 (diff) | |
download | openssl-5998e2903589e7b19e102ebff06521f2dcb60409.tar.gz |
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 'ssl/ssl_stat.c')
-rw-r--r-- | ssl/ssl_stat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/ssl_stat.c b/ssl/ssl_stat.c index 8b7257a06f..7857c4d75b 100644 --- a/ssl/ssl_stat.c +++ b/ssl/ssl_stat.c @@ -93,7 +93,7 @@ const char *SSL_state_string_long(const SSL *s) return "error"; } - switch (SSL_state(s)) { + switch (SSL_get_state(s)) { case TLS_ST_BEFORE: str = "before SSL initialization"; break; @@ -208,7 +208,7 @@ const char *SSL_state_string(const SSL *s) return "SSLERR"; } - switch (SSL_state(s)) { + switch (SSL_get_state(s)) { case TLS_ST_BEFORE: str = "PINIT "; break; |