Skip to content

Commit

Permalink
fix: ths tls is not applied cause handshake_failed
Browse files Browse the repository at this point in the history
- Condition incorrect
- If we have keystore that should applied tls setting
- remove `!` not operator
  • Loading branch information
Chinlinlee committed Nov 10, 2023
1 parent fa95e67 commit 40e4fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dimse/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class DcmQrScp {

let device = this.connection.getDeviceSync();
try {
if (!raccoonConfig.dicomDimseConfig.keyStore) {
if (raccoonConfig.dicomDimseConfig.keyStore) {
device.setKeyManagerSync(
SSLManagerFactory.createKeyManagerSync(
raccoonConfig.dicomDimseConfig.keyStoreType,
Expand Down

0 comments on commit 40e4fd3

Please sign in to comment.