Infer fixes for WolfSSLSocket

pull/182/head
Chris Conlon 2024-04-03 12:41:08 -06:00
parent 749ee6eb67
commit aa52ea4f4f
1 changed files with 1 additions and 1 deletions

View File

@ -1781,7 +1781,7 @@ public class WolfSSLSocket extends SSLSocket {
* @throws SSLException if native JNI call fails or underlying
* WolfSSLSession has been freed
*/
public boolean sessionResumed() throws SSLException {
public synchronized boolean sessionResumed() throws SSLException {
if (this.ssl != null) {
try {
int resume = this.ssl.sessionReused();