@@ -289,9 +289,9 @@ abbreviated({call, From}, Msg, State) ->
289289 handle_call (Msg , From , ? STATE (abbreviated ), State );
290290abbreviated (internal ,
291291 # change_cipher_spec {type = <<1 >>},
292- # state {static_env = # static_env { protocol_cb = Connection } ,
293- connection_states = ConnectionStates0 ,
294- handshake_env = HsEnv } = State ) ->
292+ # state {handshake_env = # handshake_env { expecting_finished = false } = HsEnv ,
293+ static_env = # static_env { protocol_cb = Connection } ,
294+ connection_states = ConnectionStates0 } = State ) ->
295295 ConnectionStates1 =
296296 ssl_record :activate_pending_connection_state (ConnectionStates0 , read , Connection ),
297297 Connection :next_event (? STATE (abbreviated ), no_record ,
@@ -323,7 +323,7 @@ certify(Type, Event, State) ->
323323cipher ({call , From }, Msg , State ) ->
324324 handle_call (Msg , From , ? STATE (cipher ), State );
325325cipher (internal , # change_cipher_spec {type = <<1 >>},
326- # state {handshake_env = HsEnv ,
326+ # state {handshake_env = # handshake_env { expecting_finished = false } = HsEnv ,
327327 static_env = # static_env {protocol_cb = Connection },
328328 connection_states = ConnectionStates0 } = State ) ->
329329 ConnectionStates =
0 commit comments