summaryrefslogtreecommitdiffstats
path: root/ssl/statem/statem.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-10-26 11:54:17 +0000
committerMatt Caswell <matt@openssl.org>2015-10-30 08:39:47 +0000
commit8481f583d3aebd7383ba5824bfbe854242231e1b (patch)
treeacc40bc7b9e4517e8300bd093cd8532f4e0c82f4 /ssl/statem/statem.c
parentbe3583fa40a2658cbbcf73320f75e9d674bb39f4 (diff)
Add ossl_statem prefix to various functions
Add the ossl_statem prefix to various funtions to avoid name clashes. 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.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/ssl/statem/statem.c b/ssl/statem/statem.c
index 24efd03043..3a44846e5c 100644
--- a/ssl/statem/statem.c
+++ b/ssl/statem/statem.c
@@ -533,15 +533,15 @@ static SUB_STATE_RETURN read_state_machine(SSL *s) {
cb = get_callback(s);
if(s->server) {
- transition = server_read_transition;
- process_message = server_process_message;
- max_message_size = server_max_message_size;
- post_process_message = server_post_process_message;
+ transition = ossl_statem_server_read_transition;
+ process_message = ossl_statem_server_process_message;
+ max_message_size = ossl_statem_server_max_message_size;
+ post_process_message = ossl_statem_server_post_process_message;
} else {
- transition = client_read_transition;
- process_message = client_process_message;
- max_message_size = client_max_message_size;
- post_process_message = client_post_process_message;
+ transition = ossl_statem_client_read_transition;
+ process_message = ossl_statem_client_process_message;
+ max_message_size = ossl_statem_client_max_message_size;
+ post_process_message = ossl_statem_client_post_process_message;
}
if (st->read_state_first_init) {
@@ -730,15 +730,15 @@ static SUB_STATE_RETURN write_state_machine(SSL *s)
cb = get_callback(s);
if(s->server) {
- transition = server_write_transition;
- pre_work = server_pre_work;
- post_work = server_post_work;
- construct_message = server_construct_message;
+ transition = ossl_statem_server_write_transition;
+ pre_work = ossl_statem_server_pre_work;
+ post_work = ossl_statem_server_post_work;
+ construct_message = ossl_statem_server_construct_message;
} else {
- transition = client_write_transition;
- pre_work = client_pre_work;
- post_work = client_post_work;
- construct_message = client_construct_message;
+ transition = ossl_statem_client_write_transition;
+ pre_work = ossl_statem_client_pre_work;
+ post_work = ossl_statem_client_post_work;
+ construct_message = ossl_statem_client_construct_message;
}
while(1) {