diff options
author | Matt Caswell <matt@openssl.org> | 2015-10-05 10:18:06 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-10-30 08:39:46 +0000 |
commit | 35bf6e05371de3aebd83dc630125a108ec4a5e70 (patch) | |
tree | c71f645eea7babdf30f1eecdf30a2e286ac02769 /ssl/statem/statem.c | |
parent | a455d0f6fff7bdac2b991715e7bf5b000e2274af (diff) |
Change HANDSHAKE_STATE to OSSL_HANDSHAKE_STATE
Rename the enum HANDSHAKE_STATE to OSSL_HANDSHAKE_STATE to ensure there are
no namespace clashes, and convert it into a typedef.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/statem/statem.c')
-rw-r--r-- | ssl/statem/statem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/statem/statem.c b/ssl/statem/statem.c index 5032c3b267..1df669bc33 100644 --- a/ssl/statem/statem.c +++ b/ssl/statem/statem.c @@ -110,12 +110,12 @@ static enum SUB_STATE_RETURN read_state_machine(SSL *s); static void init_write_state_machine(SSL *s); static enum SUB_STATE_RETURN write_state_machine(SSL *s); -enum HANDSHAKE_STATE SSL_state(const SSL *ssl) +OSSL_HANDSHAKE_STATE SSL_state(const SSL *ssl) { return ssl->statem.hand_state; } -void SSL_set_state(SSL *ssl, enum HANDSHAKE_STATE state) +void SSL_set_state(SSL *ssl, OSSL_HANDSHAKE_STATE state) { /* * This function seems like a really bad idea. Should we remove it |