Small change

This commit is contained in:
M66B
2023-12-09 16:06:05 +01:00
parent cf31f95318
commit 87802d8cf6
2 changed files with 2 additions and 2 deletions

View File

@@ -1099,7 +1099,7 @@ public class EmailService implements AutoCloseable {
} catch (Throwable ex) {
Log.e(ex);
}
sslContext.init(km, new TrustManager[]{tm}, null);
sslContext.init(km, new TrustManager[]{tm == null ? rtm : tm}, null);
}
factory = sslContext.getSocketFactory();