lib/noise/state/handshake_state.rb in noise-ruby-0.7.3 vs lib/noise/state/handshake_state.rb in noise-ruby-0.7.4
- old
+ new
@@ -16,9 +16,10 @@
#
# message_patterns: A sequence of message patterns.
# Each message pattern is a sequence of tokens from the set ("e", "s", "ee", "es", "se", "ss").
class HandshakeState
attr_reader :message_patterns, :symmetric_state
+ attr_reader :s, :rs
def initialize(connection, protocol, initiator, prologue, keypairs)
@connection = connection
@protocol = protocol
@symmetric_state = SymmetricState.new