anchor.diff:  	    #state{role = server,
   		   negotiated_version = Version,
   		   tls_handshake_hashes = Hashes,
  -		   session = #session{master_secret = MasterSecret}} = State) ->
  +		   session = #session{master_secret = MasterSecret}} = 
  +	    State0) ->
       case ssl_handshake:verify_connection(Version, Finished, client,
   					 MasterSecret, Hashes) of
           verified ->
  -            ack_connection(State),
  +	    State = ack_connection(State0),
   	    next_state_connection(State);
   	#alert{} = Alert ->
  -	    handle_own_alert(Alert, Version, abbreviated, State),
  -            {stop, normal, State} 
  +	    handle_own_alert(Alert, Version, abbreviated, State0),
  +            {stop, normal, State0} 
       end;
   
   abbreviated(Finished = #finished{},
   	    #state{role = client, tls_handshake_hashes = Hashes0,
   		   session = #session{master_secret = MasterSecret},
  -		   negotiated_version = Version} = State) ->
  +		   negotiated_version = Version} = State0) ->
       case ssl_handshake:verify_connection(Version, Finished, server,
   					 MasterSecret, Hashes0) of
           verified ->
  -	    {ConnectionStates, Hashes} = finalize_client_handshake(State),
  -	    ack_connection(State),
  +	    {ConnectionStates, Hashes} = finalize_client_handshake(State0),
  +	    State = ack_connection(State0),
   	    next_state_connection(State#state{tls_handshake_hashes = Hashes,
   					      connection_states = 
   					      ConnectionStates});
           #alert{} = Alert ->
  -	    handle_own_alert(Alert, Version, abbreviated, State),
  -            {stop, normal, State} 
  +	    handle_own_alert(Alert, Version, abbreviated, State0),
  +            {stop, normal, State0} 
       end.
   
   certify(socket_control, #state{role = server} = State) ->
  
positive.code: 			       Opts#ssl_options.verify_fun) of
          {PeerCert, PublicKeyInfo} ->
  	    handle_peer_cert(PeerCert, PublicKeyInfo, 
  			     State#state{client_certificate_requested = false});
  	#alert{} = Alert ->
              handle_own_alert(Alert, Version, certify_certificate, State),
              {stop, normal, State}
  
negative.code: %% Description: 
  %%--------------------------------------------------------------------
  renegotiation(ConnectionPid) ->
      sync_send_all_state_event(ConnectionPid, renegotiate). 
  
  %%====================================================================
  %% ssl_connection_sup API
  