Change statem prefix to ossl_statem

Change various state machine functions to use the prefix ossl_statem
instead.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Matt Caswell
2015-10-05 10:39:54 +01:00
parent 7c8b535716
commit fe3a329117
13 changed files with 130 additions and 126 deletions

View File

@@ -215,7 +215,7 @@ int SSL_clear(SSL *s)
return 0;
}
statem_clear(s);
ossl_statem_clear(s);
s->version = s->method->version;
s->client_version = s->version;
@@ -2396,7 +2396,7 @@ void SSL_set_accept_state(SSL *s)
{
s->server = 1;
s->shutdown = 0;
statem_clear(s);
ossl_statem_clear(s);
s->handshake_func = s->method->ssl_accept;
clear_ciphers(s);
}
@@ -2405,7 +2405,7 @@ void SSL_set_connect_state(SSL *s)
{
s->server = 0;
s->shutdown = 0;
statem_clear(s);
ossl_statem_clear(s);
s->handshake_func = s->method->ssl_connect;
clear_ciphers(s);
}