Changeset bbccb47


Ignore:
Timestamp:
Nov 17, 2018 10:26:59 AM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
09ea40c
Parents:
0526d6fd
Message:

NTCP2 unused code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/com/southernstorm/noise/protocol/HandshakeState.java

    r0526d6fd rbbccb47  
    4545        private final int requirements;
    4646        private int patternIndex;
    47         // not supported
    48         private static final byte[] prologue = null;
    4947
    5048        /**
     
    353351               
    354352                // Hash the prologue value.
    355                 if (prologue != null)
    356                         symmetric.mixHash(prologue, 0, prologue.length);
    357                 else
    358                         symmetric.mixHash(emptyPrologue, 0, 0);
     353                symmetric.mixHash(emptyPrologue, 0, 0);
    359354               
    360355                // Mix the pre-supplied public keys into the handshake hash.
     
    799794                if (remoteEphemeral != null)
    800795                        remoteEphemeral.destroy();
    801                 if (prologue != null)
    802                         Noise.destroy(prologue);
    803796        }
    804797       
Note: See TracChangeset for help on using the changeset viewer.