anchor.diff:      sync_send_all_state_event(Pid, {application_data, 
   				    %% iolist_to_binary should really
   				    %% be called iodata_to_binary()
  -				    erlang:iolist_to_binary(Data)}, infinity).
  +				    erlang:iolist_to_binary(Data)}).
   
   %%--------------------------------------------------------------------
   -spec recv(pid(), integer(), timeout()) ->  
  
positive.code: 
  handle_info(allow_renegotiate, StateName, State) ->
      {next_state, StateName, State#state{allow_renegotiate = true}, get_timeout(State)};
      
  handle_info(Msg, StateName, State) ->
      Report = io_lib:format("SSL: Got unexpected info: ~p ~n", [Msg]),
      error_logger:info_report(Report),
  
negative.code: 	    {stop, normal, Error, State}
      end;
      
  handle_sync_event({recv, N, Timeout}, RecvFrom, connection = StateName, State0) ->
      start_or_recv_cancel_timer(Timeout, RecvFrom),
      passive_receive(State0#state{bytes_to_read = N, start_or_recv_from = RecvFrom}, StateName);
  
  %% Doing renegotiate wait with handling request until renegotiate is
  %% finished. Will be handled by next_state_is_connection/2.
  handle_sync_event({recv, N, Timeout}, RecvFrom, StateName, State) ->
      start_or_recv_cancel_timer(Timeout, RecvFrom),
      {next_state, StateName, State#state{bytes_to_read = N, start_or_recv_from = RecvFrom},
       get_timeout(State)};
  
  