fix: lower log priority in SshjConfig

This commit is contained in:
Harsh Shandilya 2022-10-24 15:38:01 +05:30
parent 28394c4bbb
commit 0d35cfaa0b
No known key found for this signature in database

View File

@ -52,7 +52,7 @@ fun setUpBouncyCastleForSshj() {
runCatching { Class.forName("sun.security.jca.Providers") } runCatching { Class.forName("sun.security.jca.Providers") }
Security.insertProviderAt(BouncyCastleProvider(), bcIndex + 1) Security.insertProviderAt(BouncyCastleProvider(), bcIndex + 1)
} }
logcat("setUpBouncyCastleForSshj") { logcat("setUpBouncyCastleForSshj", priority = VERBOSE) {
"JCE providers: ${Security.getProviders().joinToString { "${it.name} (${it.version})" }}" "JCE providers: ${Security.getProviders().joinToString { "${it.name} (${it.version})" }}"
} }
// Prevent sshj from forwarding all cryptographic operations to BC. // Prevent sshj from forwarding all cryptographic operations to BC.