This commit is contained in:
anlicheng 2023-09-01 17:54:23 +08:00
parent d5ba35b226
commit 0136483c89

View File

@ -277,7 +277,7 @@ handle_event({call, From}, {create_session, PubKey}, _, State = #state{uuid = UU
Reply = #{<<"a">> => false, <<"aes">> => <<"">>},
EncReply = iot_cipher_rsa:encode(Reply, PubKey),
{next_state, ?STATE_DENIED, [{reply, From, {ok, <<10:8, EncReply/binary>>}}]}
{next_state, ?STATE_DENIED, State, [{reply, From, {ok, <<10:8, EncReply/binary>>}}]}
end;
%%