Skip to content

Commit

Permalink
Merge pull request #605 from norrisjeremy/20240723
Browse files Browse the repository at this point in the history
0.2.19 changes
  • Loading branch information
mwiede authored Aug 6, 2024
2 parents 4b603c9 + 47204fd commit 4be7e28
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .sdkmanrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=21.0.3-tem
java=21.0.4-tem
maven=3.9.8
7 changes: 4 additions & 3 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
* [0.2.19](https://github.com/mwiede/jsch/releases/tag/jsch-0.2.19)
* Enforce DHGEX prime modulus bit length meets configured constraints.
* Enforce DHGEX prime modulus bit length meets configured constraints.
* #604 Fix possible rekeying timeouts.
* [0.2.18](https://github.com/mwiede/jsch/releases/tag/jsch-0.2.18)
* Handle negated patterns according to ssh_config(5) by @bmiddaugh in https://github.com/mwiede/jsch/pull/565
* Handle negated patterns according to ssh_config(5) by @bmiddaugh in https://github.com/mwiede/jsch/pull/565
* [0.2.17](https://github.com/mwiede/jsch/releases/tag/jsch-0.2.17)
* Add PBKDF2-HMAC-SHA512/256 & PBKDF2-HMAC-SHA512/224, which are both supported as of Java 21.
* Add PBKDF2-HMAC-SHA512/256 & PBKDF2-HMAC-SHA512/224, which are both supported as of Java 21.
* [0.2.16](https://github.com/mwiede/jsch/releases/tag/jsch-0.2.16)
* Add support for sntrup761x25519-sha512@openssh.com KEX algorithm.
* Switch to bnd-maven-plugin in order to support Multi-Release OSGi bundle JAR's via supplemental manifest files.
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/jcraft/jsch/Session.java
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public class Session {

protected boolean daemon_thread = false;

private long kex_start_time = 0L;
private volatile long kex_start_time = 0L;

int max_auth_tries = 6;
int auth_failures = 0;
Expand Down Expand Up @@ -843,8 +843,8 @@ private void send_kexinit() throws Exception {
}
}

in_kex = true;
kex_start_time = System.currentTimeMillis();
in_kex = true;

// byte SSH_MSG_KEXINIT(20)
// byte[16] cookie (random bytes)
Expand Down

0 comments on commit 4be7e28

Please sign in to comment.