diff options
author | AKalinich-Luxoft <AKalinich@luxoft.com> | 2018-06-04 20:21:55 +0300 |
---|---|---|
committer | AKalinich-Luxoft <AKalinich@luxoft.com> | 2018-06-04 20:21:55 +0300 |
commit | ddc3f16bc5f2c138ad98dfeeba1259bdc63767bf (patch) | |
tree | ed2e398edf783fe572aee05c397ea2d3864314e4 | |
parent | 5c8ab5849392d2c46bcea366fc0dbbb12bf3c318 (diff) | |
download | sdl_core-fix/fix_ssl_handshake_flow_integration_branch_new_v5.tar.gz |
Updated handshake handlerfix/fix_ssl_handshake_flow_integration_branch_new_v5
-rw-r--r-- | src/components/protocol_handler/src/handshake_handler.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/protocol_handler/src/handshake_handler.cc b/src/components/protocol_handler/src/handshake_handler.cc index bfde94faf1..d7b2918250 100644 --- a/src/components/protocol_handler/src/handshake_handler.cc +++ b/src/components/protocol_handler/src/handshake_handler.cc @@ -119,11 +119,7 @@ bool HandshakeHandler::OnHandshakeDone( result == security_manager::SSLContext::Handshake_Result_Success; BsonObject params; - if (payload_) { - params = bson_object_from_bytes(payload_.get()); - } else { - bson_object_initialize_default(¶ms); - } + bson_object_initialize_default(¶ms); if (success) { ProcessSuccessfulHandshake(connection_key, params); |