Infer fixes for WolfSSLSocket
parent
749ee6eb67
commit
aa52ea4f4f
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue