diff --git a/ssl/statem/statem.c b/ssl/statem/statem.c index bd7d89a4610d126b2131c05777a3eb2fa5b7fb59..a1c5a2152297ca7f22d63561e68035b2373aa2d5 100644 --- a/ssl/statem/statem.c +++ b/ssl/statem/statem.c @@ -564,6 +564,7 @@ static SUB_STATE_RETURN read_state_machine(SSL *s) case WORK_ERROR: case WORK_MORE_A: case WORK_MORE_B: + case WORK_MORE_C: return SUB_STATE_ERROR; case WORK_FINISHED_CONTINUE: @@ -706,6 +707,7 @@ static SUB_STATE_RETURN write_state_machine(SSL *s) case WORK_ERROR: case WORK_MORE_A: case WORK_MORE_B: + case WORK_MORE_C: return SUB_STATE_ERROR; case WORK_FINISHED_CONTINUE: @@ -745,6 +747,7 @@ static SUB_STATE_RETURN write_state_machine(SSL *s) case WORK_ERROR: case WORK_MORE_A: case WORK_MORE_B: + case WORK_MORE_C: return SUB_STATE_ERROR; case WORK_FINISHED_CONTINUE: diff --git a/ssl/statem/statem.h b/ssl/statem/statem.h index 021d2d06ce310291ceb3087611aeda2a0b6ce120..906f2ec5bc00c7235b87d24e0684fcb27a81671f 100644 --- a/ssl/statem/statem.h +++ b/ssl/statem/statem.h @@ -27,7 +27,9 @@ typedef enum { /* We're working on phase A */ WORK_MORE_A, /* We're working on phase B */ - WORK_MORE_B + WORK_MORE_B, + /* We're working on phase C */ + WORK_MORE_C } WORK_STATE; /* Write transition return codes */